|
|
|
|
Re: How to generate uml2 diagram within a gmf project programmatically ? [message #504348 is a reply to message #504322] |
Fri, 18 December 2009 12:54 |
Mariot Chauvin Messages: 174 Registered: July 2009 |
Senior Member |
|
|
Alireza,
Comments below.
Alireza a écrit :
>
> Dear Mariot, There is not much that I can get from these links :(
So let me reformulate your intention. You want to create programmatically uml diagrams from existing java code, right ?
This could be done in 2 steps :
- extract an uml model from your java code
- create a diagram for your extracted uml model
and after there could be other optional steps such as layout the created diagram, export it as image, etc...
To work with UML models and diagrams there is currently two eclipse projects :
- uml2tools which provides a set of GMF-based editors for viewing and editing UML models
- papyrus which provides an integrated, user-consumable environment for editing models based on UML
So you need to deep further in these projects, to see how you could use them to reach your goal.
AFAIK for the first step papyrus provides such a feature with the org.eclipse.papyrus.java.reverse plug-in, but I never test it.
Hope this help.
Regards,
Mariot
|
|
|
Powered by
FUDForum. Page generated in 0.05618 seconds