How to create a umlclass file, and create some notations and then save by programming [message #870182] |
Mon, 07 May 2012 03:53  |
Eclipse User |
|
|
|
(I asked this question in GMF forum already,
but I'm not sure this question belongs in which forum better,
so I asked here again. Sorry for this)
We can create .umlclass (uml2.1 class diagram) from menu,
but how can we create a .umlclass file and add some class notation, and then save by programming?
(I've created .uml file and create some package,class and then save by programming too. Now I need to do this for diagram/notation)
Thanks a lot!
[Updated on: Mon, 07 May 2012 03:55] by Moderator
|
|
|
|
|
|
Re: How to create a umlclass file, and create some notations and then save by programming [message #870458 is a reply to message #870264] |
Tue, 08 May 2012 06:34  |
Eclipse User |
|
|
|
Hi Edward,
Thanks for your advice.
It seems it's complex to create diagram and notation by programmatically.
I'll try to open diagram and get content information by programmatically first to get a glance at emf/gmf/uml2.
Thanks again.
Edward Willink wrote on Mon, 07 May 2012 09:59Hi
The diagrams are only EMF models so the same programmatic principles
apply, but as models get more complex creating them by hand gets harder
and harder.
I recommend using a model to model transformation tool to go from your
source concepts to a diagram model instance.
You might even consider an Xtext DSL for your source concepts.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.05184 seconds