| ... | @@ -14,9 +14,9 @@ The reverse engineering capabilities are part of the Java feature of Papyrus SW |
... | @@ -14,9 +14,9 @@ The reverse engineering capabilities are part of the Java feature of Papyrus SW |
|
|
|
|
|
|
|
A Java class can be reverse-engineered into a Papyrus class diagram:
|
|
A Java class can be reverse-engineered into a Papyrus class diagram:
|
|
|
|
|
|
|
|
* open the class diagram,
|
|
* Open the class diagram,
|
|
|
* select a Java package from a project
|
|
* Select a Java package from a project
|
|
|
* click the Reverse button image:figs/ReverseButton.jpg[Reverse button]
|
|
* Click the Reverse button image::figs/ReverseButton.jpg[Reverse button]
|
|
|
|
|
|
|
|
A UML class is created in Model Explorer. You can now add it to your diagram.
|
|
A UML class is created in Model Explorer. You can now add it to your diagram.
|
|
|
Note that all associated classes have also been added to the model.
|
|
Note that all associated classes have also been added to the model.
|
| ... | @@ -42,9 +42,9 @@ image:figs/JavaReverseOptionsMenu.jpg[Reverse options menu] |
... | @@ -42,9 +42,9 @@ image:figs/JavaReverseOptionsMenu.jpg[Reverse options menu] |
|
|
|
|
|
|
|
This option menu allows one to:
|
|
This option menu allows one to:
|
|
|
|
|
|
|
|
* change the default package of the reverse-engineering,
|
|
* Change the default package of the reverse-engineering,
|
|
|
* add or remove search path. The reverse generator search existing UML classes and regenerate them.
|
|
* Add or remove search path. The reverse generator search existing UML classes and regenerate them.
|
|
|
* add or remove creation path. The reverse generator search on existing Java classes to generate a UML class. Useful for creating Java imports (e.g.: String, Integer).
|
|
* Add or remove creation path. The reverse generator search on existing Java classes to generate a UML class. Useful for creating Java imports (e.g.: String, Integer).
|
|
|
|
|
|
|
|
[[using_drag_drop]]
|
|
[[using_drag_drop]]
|
|
|
=== Using Drag & Drop
|
|
=== Using Drag & Drop
|
| ... | | ... | |