Note that the reverse contextual menu of a package works at package level.
If you click on two packages in the Package Explorer therefore only the first package will be displayed in your class diagram and you will need to Dnd other classes or interfaces into this newly created diagram.
How to display Class Diagram from two separate packages ?
1. Click on the package in the Package Explorer > Select Open/ Reverse UML (see more at : documentation_eclipseuml_2008/reverse/reverse/reverse_engineering_example.html#4._See_the_reverse_of_two_packages )
2. Drag and drop classifiers from either the Package Explorer or the XMI Editor. Don't forget that you can select more than one classifiers at the same time with the mouse (see more at : documentation_eclipseuml_2008/reverse/reverse/reverse_engineering_example.html#5._See_Classes_and_Interfaces_coming for Dnd from the Package Explorer or documentation_eclipseuml_2008/drop_classifiers_to_editor.png for Dnd from the xmi editor).
How to navigate dynamically in the diagram ?
Some interesting features are also:
1. Show hide compartments to make your diagram more readable (see more at: documentation_eclipseuml_2008/show_hide_compartments.png )
2. Add or delete any connectors (e.g. dependencies, inheritences, associations etc...) from your diagram using the class diagram contextual menu (see more at: documentation_eclipseuml_2008/show_all_inheritance.png )
3. Use the Class diagram contextual menu
> Arrange Diagram > Arrange All will reorganize your diagram
> Resize will resize the size of your classifiers
> Package Information will add or delete the package information inside the classifier
4.Add colors to your diagram (see more at: documentation_eclipseuml_2008/workingWithDiagrams/font_and_colors/index.html )
Don't forget that EclipseUML has hundred of menus which could help you to fully customize everything in your diagram.
You can also work as you want and be free to use one fo the following best practices :
- Only use MDA approach and generate code (see more at: http://www.uml2.org/feature_charts/Mode ... _code.html )
- Create the skeleton of your application and add MDA methods. The implementation team will code in Java business rules while using the existing architecture and getting a documentation of method requirements by using the documentation view (see more at : documentation_eclipseuml_2008/workingWithDiagrams/documentation_view/documentation_view.html )
- Use live code and model synchronization then gives the project to the implementation team and finally taking back the project and updating it before another iteration (see more at: documentation_eclipseuml_2008/reverse/reverse/index.html#1.3_Merge_existing_model_with_modified )
This is the tip of the day how to display classifiers from two packages.
Happy New Year to everybody
