|Re: how to initialize class diagram from UML2 Model programmactically [message #624898 is a reply to message #624892]
||Fri, 09 October 2009 06:25
| Vlad Varnica
Registered: July 2009
Location: Milton Keynes - UK
What do you mean by .umlclass ? Is-it the graphical information or the model information ? Don't forget that in UML you always have two or more models. The graphical model is used to display the information on the screen (e.g. element position and size for example) and the model information is the XMI (e.g metamodel and xmi interoperability for example).|
It seems that your question is to be able to create immediately a diagram without human decision !! If this is your need then you can have a look in the code of each menu. Each menu has a specific call to a method which could be simulated.
You need to create the following steps:
Download EMF, UML2, GMF and GEF jar files to create a development environment.
Create a diagram and give it a name.
Select classifiers and drop them into the diagram.
Refresh the diagram.
It should work but this is a big job !!
Good luck for your project :)
Powered by FUDForum
. Page generated in 0.01548 seconds