Skip to main content
Jump to: navigation, search

Difference between revisions of "EMF Compare/New and Noteworthy/3.1.0"

(Handle FeatureMap differences (available since nightly 2014-07-08))
(Handle FeatureMap differences (available since nightly 2014-07-08))
Line 10: Line 10:
 
* Detects move of a value from a map to another (the key stays the same).
 
* Detects move of a value from a map to another (the key stays the same).
 
* Detects move of a value from a map to another (the key changes).
 
* Detects move of a value from a map to another (the key changes).
 
[[Image:EMFCompare_Library_FeatureMap_01.png]]
 
  
 
* Add a new filter to hide feature map changes that has related reference changes.  With ''EMF Ecore'' models, features of type ''EFeatureMapEntry'' are linked with ''EReferences'' via ''ExtendedMetaData'' (see the EMF Library example for more details). Here is a partial view of the ''EMF Ecore Library'' model showing a feature of type ''EFeatureMapEntry'' (''people'') and its ''EReferences'' associated (''employees'', ''borrowers'')
 
* Add a new filter to hide feature map changes that has related reference changes.  With ''EMF Ecore'' models, features of type ''EFeatureMapEntry'' are linked with ''EReferences'' via ''ExtendedMetaData'' (see the EMF Library example for more details). Here is a partial view of the ''EMF Ecore Library'' model showing a feature of type ''EFeatureMapEntry'' (''people'') and its ''EReferences'' associated (''employees'', ''borrowers'')
Line 17: Line 15:
  
 
So, for example, the addition of a new Employee in the library will modify the reference ''employees'' but also the map ''people''. With EMF Compare, the comparison will detect two changes, one on the ''employees'' reference and one on the ''people'' map. These two differences are equivalent. If you merge one, the other will be merged too. The filter allows to hide the changes on the map, and so reduce the number of changes displayed in the viewer.
 
So, for example, the addition of a new Employee in the library will modify the reference ''employees'' but also the map ''people''. With EMF Compare, the comparison will detect two changes, one on the ''employees'' reference and one on the ''people'' map. These two differences are equivalent. If you merge one, the other will be merged too. The filter allows to hide the changes on the map, and so reduce the number of changes displayed in the viewer.
 +
** With filter active
 +
[[Image:EMFCompare_Library_FeatureMap_01.png]]
 
** With filter inactive
 
** With filter inactive
 
[[Image:EMFCompare_Library_FeatureMap_02.png]]
 
[[Image:EMFCompare_Library_FeatureMap_02.png]]
** With filter active
+
** With filter inactive, and a difference on the map selected: the associated difference on the reference is highlighted in green (this mean that in case of merge, the difference on the reference will be merged too).
 
[[Image:EMFCompare_Library_FeatureMap_03.png]]
 
[[Image:EMFCompare_Library_FeatureMap_03.png]]
  

Revision as of 05:49, 1 October 2014

EMF Compare

Features

Handle FeatureMap differences (available since nightly 2014-07-08)

  • Detects addition/deletion of a value for a given key of a map.
  • Detects key change for a given value of a map.
  • Detects move of a value inside a map (the key stays the same).
  • Detects move of a value inside a map (the key changes).
  • Detects move of a value from a map to another (the key stays the same).
  • Detects move of a value from a map to another (the key changes).
  • Add a new filter to hide feature map changes that has related reference changes. With EMF Ecore models, features of type EFeatureMapEntry are linked with EReferences via ExtendedMetaData (see the EMF Library example for more details). Here is a partial view of the EMF Ecore Library model showing a feature of type EFeatureMapEntry (people) and its EReferences associated (employees, borrowers)

EMFCompare Library FeatureMap 04.png

So, for example, the addition of a new Employee in the library will modify the reference employees but also the map people. With EMF Compare, the comparison will detect two changes, one on the employees reference and one on the people map. These two differences are equivalent. If you merge one, the other will be merged too. The filter allows to hide the changes on the map, and so reduce the number of changes displayed in the viewer.

    • With filter active

EMFCompare Library FeatureMap 01.png

    • With filter inactive

EMFCompare Library FeatureMap 02.png

    • With filter inactive, and a difference on the map selected: the associated difference on the reference is highlighted in green (this mean that in case of merge, the difference on the reference will be merged too).

EMFCompare Library FeatureMap 03.png

Feature two

  • blbalbalblablalbalb
  • blbalbalblablalbalb

/ Screenshot /

  • bbalbalblablalbalb

/ Screenshot /

Bug Fixes

XXX Bugs and XXX enhancement requests were closed

Contributors

The following XXXX developers worked on this release:

Mikaël Barbero, Cédric Brun, Philip Langer, Laurent Goubet, Axel Richard.

Back to the top