|Re: genmodel for state machine diagram [message #627807]
||Thu, 23 July 2009 08:34
| Tatiana Fesenko
Registered: July 2009
Thank you for the warm words.
You generate Java code using an approach described here - http://wiki.eclipse.org/MDT/UML2/FAQ#Can_I_generate_code_fro m_my_UML_.28.uml.29_model.3F
, don't you?
In that case the most relevant answer will be gotten in UML2 newsgroup. I
redirect your question there.
There are other approaches to generate code from UML diagrams. Some of them
are described here - news://news.eclipse.org/31c6fe66a4cc61648c68aef19f1af8ae$1@w ww.eclipse.org
> First up, thanks guys for putting this great software together and the
> potential is awesome!
> I am trying to "Generate Model Code" from a .genmodel based on a
> "State Machine Diagram" from the "UML 2.1 Diagrams" wizard. I am able
> to complete this with code popping out in the src directory but it is
> incomplete, i.e. the only .java file is the StateMachine name and none
> of the initial states, transitions or simple state and final state can
> be found anywhere in the generate model code.
> Am I missing something or is there a simple example I can follow to
> get me going? Or, is this one of those incubation features I need to
> be patient on?
> I have just downloaded the "Eclipse Modeling Tools" version of Eclipse
> so I should have all the latest code and I know this includes
> incubation projects and hence is not complete yet.
> Thanks in advance Eban
Powered by FUDForum
. Page generated in 0.01672 seconds