eUML2 Modeler adds an UML flavour to java development within Eclipse. It's easy to generate Class and Sequence diagram from code.



Class Diagram Editor


The diagram editor is used to display java element structures and their relationships. The diagram can work at package or Class level or mix levels.

The diagram content is always synchronised to the code: changes can be done via the diagram or via the java editor. The diagram enables a wider view of code, it's easy to view relationships of elements (see Element navigation example).

Some additional features of the diagram help in modeleling: preferences to display default element contents and wires, modeling assistants, etc...


The following screenshots comes from the log4j project.
An inheritance tree:


A package diagram centered on org.apache.log4j package:




Element Navigation

From an element you can easily insert on the diagram its linked elements (such as element who depends on, subclasses/super classes or associations) at class or package level


Insertion of a dependency:
The class popup menu contains known dependencies, the user can choose the dependency to insert on the diagram (click to get full size).



The next screenshot displays the result after the insertion of a dependency to the diagram:

Insertion of a super type:
The class popup menu contains known super types, the user can choose the super type to insert on the diagram (click to get full size).




The next screenshot display the result after the addition of a super type to the diagram:

Insertion of an association:
The class popup menu contains known associations, the user can choose the association to insert on the diagram (click to get full size).




The next screenshot displays the result after the addition of an association to the diagram: