Merge code and model


This is only a EclipseUML 2008 feature which allows to:
  1. First work at modeling stage
  2. Then work at implementation stage without keeping live code and model synchronization. (e.g. You can close your UML editor)
  3. finally merge both model and java code in order to be able to go back to the first modeling stage and have one more iteration

The merge option is an important concept if the java project is evolving with the creation of new UML diagrams.
The principle is too reverse the full project at the beginning of the modeling stage, then to create diagrams and close EclipseUML.
After few weeks of coding another iteration stage is needed.
At this stage the model merge will add all detected new packages, classifiers and connectors to the existing model.

The merge option is available if you select the src > Open / Reverse UML > Deep Reverse > Merge Model.


The merge mechanism is working at XMI level and is respecting the following rules:

Please note that if you copy and paste diagrams into another project then diagrams will not anymore be synchronized with Java or the model.
If you move diagrams inside your project then diagrams will keep the same properties and will always be synchronized.