|Creating class diagram based on java code [message #1134471]
||Sat, 12 October 2013 10:22
| gustavo waku
Registered: October 2013
ccing the thread related on how to create a class diagram based on java code|
Sorry for the delay, so many things to do, and only 24 hours a day ...
It is possible to reverse Java code and generate UML models directly in a Papyrus model. Once you have your class in the Papyrus explorer, you can draw your diagram by doing drag and drop.
The reverse plugin do not create the diagram, simply because we don't know what exactly you want in your diagram.
The Papyrus Java Reverse tool take care to merge your reversed classes and their contents with existing classes in your model.
The reverse tools only reverse Java properties into uml::Property. The tool offer a command to create an association from a property.
The Java Reverse Tool is compatible with the Java Generator Tool.
To use the tool:
install the Java Reverse Plugin
open a Papyrus Model Editor, let it be the current Editor (just select it)
select one or more Java classes (or packages) in your Eclipse "Package Explorer"
In the Eclipse toolbar, select the "Reverse Java Code in your current model" action
A dialog open, let the default values and click 'OK'
Your class should now be in your Papyrus uml model.
Hope this help,
gustavo.waku a écrit :
> Hi Cedric, how are you?
> Could you please take a look if it's possible?
> Is it possible to reverse java code to create the class diagram? if so, could you please point me to some documentation that shows how to do it?
> Thank you very much,
> On Sat, Oct 5, 2013 at 9:49 AM, GERARD Sebastien 166342 <Sebastien.GERARD@cea.fr> wrote:
> Cédric icc is the papyrus Guy that sud the java reverser of Papyrus. I guess he can help you.
> Best... Sebastien.
Powered by FUDForum
. Page generated in 0.06114 seconds