Home

Tips & tricks


It is important to tune EclipseUML in order to increase modeling productivity.
The following tips will help you:
  1. The UML editor is blocked or I don't see contextual menu anymore.
  2. It seems that EclipseUML is frozen.
  3. How to clean my UML Model.
  4. I don't see my UML Model in the Package Explorer
  5. It takes too much time to change diagram preferences.
  6. My Class Diagram is too big after selecting arrange all.
  7. My connectors (e.g. association, dependencies, inheritance) are not nice.
  8. How to move manually (e.g. not with the mouse) my UML Elements in order to get a perfect shape
  9. How to manually move a group of Elements at the same time

1. The UML editor is blocked or I don't see contextual menu anymore.

You can at any time refresh your UML Editor or your full project.
This feature is important if you manipulate heavy diagrams and use live synchronization.
We recommend to immediately use this feature as soon as you feel that something is not perfect.
Doing that will clean everything and allow you to always have a clean model and project.



2. It seems that EclipseUML is frozen.

EclipseUML uses many progress monitors which are only activated at the process launch. We don't activate them anymore after in order not to be too intrusive. If you click on Eclipse during the process then the progress monitor is not anymore visible because the Eclipse window is on the top of the process monitor. A good test to see if the process is still active is to click on the diagram and see if you have a running process such as below:




Every click will freeze Eclipse for an additional few seconds. Please don't stop any process before the end because this could damage the live synchronization.


3. How to clean my UML Model.

You can delete, change or add model element because our UML Editor is just a viewer of your UML superstructure.
Do not use Ultra Edit, SpyWare or any xml editor because this could break the model integrity.
Only the Omondo XMI Editor or the Eclipse Model Explorer are allowed.



Please note that if you erase an element from your XMI superstructure then the associated UML Editor will still display this element.
This element will therefore not be related to a model anymore. If you want to erase both UML editor and model then you need to delete the model from the UML Editor.


4. I don't see my UML Model in the Package Explorer

The model is only instantiated by the creation of any diagram if modeling non java elements and by creating a class diagram if java modeling.
It means that if you use reverse engineering features (e.g. XMI Backup) and you don't click on the save button then you will not see any model at the root of the project.
You need at least to create one class diagram and click on the save button.




If you still don't see your model after saving a class diagram then just click on your project in Package Explorer > Refresh.





5. It takes too much time to change diagram preferences.

The most time consuming process inside EclipseUML is the Attributes and methods synchronization with the model.
If you have 100 methods inside a class this is almost more time consuming than 100 classes with no compartment.
Use the Show hide compartment to have a faster EclipseUML




6. My Class Diagram is too big after selecting arrange all.

If you reverse a Java code and display associations then you can get a huge class diagram as below which is not really visible and too big for printing or documentation purposes.
The layout mechanism is based on adding classes inside the Class Diagram with no connectors links crossing classes.
It means that the smaller is each class, the smaller is diagram.
You can reduce the size of each class by using the show/hide menu and the width by hiding package information


To get a smaller diagram we recommend to use the two following features:
First click on the diagram background > Show/Hide > Show/Hide Compartments > All Compartment
Then click on the diagram background and select > Arrange Diagram




7. My connectors (e.g. association, dependencies, inheritance) are not nice.

You can customize Routers and anchors properties inside your diagram editor.
Select a group of links> Link thickness or Router to customize them.
Right Click on a link between two elements >open the pop up menu>Properties to change one link property


You can select the router algorithm and Anchor for each link

Router:

Manual allows to move the extremity of each link.

Manhattan uses automatic functions to design the link.

Anchor:

Unselecting Automatic anchor allows to fix the extremity anywhere. Move the anchor inside the element which will become blue when the anchor is properly fixed.

Automatic anchor uses algorithm to fix the anchor automatically (the anchor cannot be moved)



See a class diagram flash demo at http://www.forum-omondo.com/viewtopic.php?f=29&t=1493
See state diagram  flash demo at: http://www.forum-omondo.com/viewtopic.php?f=29&t=1482



8. How to move manually my UML Elements in order to get a perfect shape

You can move any graphical element inside any diagram by selecting the element with the mouse left button and then using the keyboard Ctrl + Alt+ keyboard Arrows to move it each time you press on an arrow.
This feature is important when you want to have strait lines or design complex diagrams in oder to get a perfect shape of your design.


9. How to manually move a group of Elements at the same time

You first need to select a group of elements using:
  1.  The Selection mode icon


Drop the selection into the diagram and crop elements.

  1. Using the keyboard. Click on an element using the mouse and keep the Ctrl key pressed.
You can select as many as needed elements to move them manually at the same time.