List of UML state-machine diagram to (Java) Code (Generation) Software [closed]
I’m looking for software / UML tools that can generate code (including, or not, Java) from UML state machine diagrams. Be it from diagrams modeled in the tool itself or imported as XMI or whatever.
For example,
- Visual Paradigm
- Enterprise Architect (supposedly)
can do this. Do you know any other tools?
You can take a look at Enterprise Architect (*).
Visual Paradigm. This software can generate code in different languages like: Java, C#, C++, etc.
I was just looking for the very same thing. I found SinelaboreRT. It runs in Java and says it's compatible with Windows, OS X, and Linux. The Graphviz requirement took some figuring out on Windows 7 though.
It can generate C, C++, Objective-C, Ada, , Java or C# code from statemachine diagrams and seems to support a number of UML tools:
- UModel
- Magic Draw
- Enterprise Architect
- Visual Paradigm for UML
- ArgoUML
- Cadifra UML Editor
- astah* (which has a free community edition)
- Built in state diagram editor
I think the ability to directly create and design the statemachine diagram inside of the application is great. Personally, this is the option that I use. I've also used its ability to interactively simulate the statemachine.
Here is the list with useful comparison - http://en.wikipedia.org/wiki/List_of_UML_tools
FSMC+ is an Apache licensed project that accepts a statchart in an XMI file and produces Java classes implementing the state machine.
精彩评论