Home

QuickStart with EclipseUML

This quickstart should help you to start using EclipseUML plugin for Eclipse Ganymede in less than 15 minutes.

1.EclipseUML contextual menus

  1. Create a new UML diagram
  2. Create a class inside your Class Diagram
  3. Diagram contextual menus
2. EclipseUML views
3. How to reverse a Java code into a Class diagram


1. Where are EclipseUML Menus ?

1. Create a new UML Diagram

You first need to create a project inside your Package Explorer.
This project should have a Java or Jee nature.
You can create diagrams at the src root using the topdown arrow icon



Or at the package root by selecting the package > New UML Diagram > ...



Please note that if you don't create any package then your model elements will be created in a default package inside the UML superstructure. It is therefore better to always give an appropriate name to each package.

2. Create a Class inside your Class Diagram

You can create either Java Classes using the toolbar



or create UML classes (e.g. no java code is created at this stage) using the Class Diagram contextual menu.
The Class Diagram contextual menu can be selected by a left mouse click on the diagram background and a right click to open the menu.



3. Diagrams contextual menus

Each time you click on anything inside the diagram, you will always open a contextual menu.
Using the mouse left button will allow you to select graphical model elements and the right click will help you to customize the graphical information and update the model.

You can click on:

2. EclipseUML views

You can use the Omondo Modeling perspective or use any of the Omondo views inside another perspective (e.g. Java, JPA, EJB, Web Services etc....)
You can model using any of the following views:
  1. Package explorer
  2. Properties View
  3. Documentation View
  4. Font and Colors View
  5. Outline
  6. Dependency Analyzer View
  7. Model Editor
  8. UML Editor




3. How to reverse a Java code into a Class diagram

The easiest way to reverse a Java code is to drag and drop a group of Classes and Interfaces from the Package Explorer to a Class Diagram. You can create a class diagram at the root of the package (e.g. the Class Diagram classifiers will be considered to belong to this package) or to give a name to the class diagram and save it anywhere in the project.
Select a group of classifiers with the mouse in the Package Explorer and drop them inside the diagram.
Note that you can mix Classes and Interfaces coming from different packages.




For advanced reverse engineering need please read the reverse engineering product documentation or the reverse engineering example of the Xerces project.



How to start: