EMF Compare/User Guide
- 1 Getting Started
- 2 Concepts
- 3 Usage
- 4 Other Materials
Installing EMF Compare
Using the bundled Eclipse marketplace client you can install EMF Compare in one click. Just type "emf compare", click on search, and then on install.
EMF has been part of the Eclipse release train since Galileo, you can install it using the following update sites, depending on your platform:
Please note that the component has at least a2 years compatibility, meaning the indigo release is also compatible with helios, and galileo.
You have to specify for which Model File Types the EMF Compare framework should be used instead of the "normal" eclipse text compare facility. Therefore, please open the preference page "General/Content Types" in your eclipse preferences ("Menu: Window->Preferences...").
Press "Add..." to add an new File association.
Enter a pattern of you Model files and click OK. Close the eclipse preferences by clicking OK.
Now you can use EMF compare for your specific model files.
Once activated you can compare your file (locally or from any Configuration Management System supported by the Team API) using the compare with menu.
The following areas are highlighted in the picture
- the differences found on the models
- the version 1 model
- the version 2 model
- the "export difference" button
- Move to next/Move to previous difference
- Merge the current difference (left to right, or right to left)
- Merge all non conflicting differences (left to right, or right to left)
- Display properties differences
Text Attribute Comparison
Since the 1.2 release EMF compare provides the ability to compare models with graphical modelers.
Have a look on the following demos :
The Eclipse Platform logical model API allows to hook in all the workspace and team operations to adapt the user request. It enables, for instance, to add in a commit request new files which are required to keep model consistency.