Skip to main content
Jump to: navigation, search

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

(Feature one (available since nightly 2014-09-08))
(FeatureMap differences (available since nightly 2014-07-08))
Line 2: Line 2:
 
==Features==
 
==Features==
  
=== FeatureMap differences (available since nightly 2014-07-08) ===
+
=== Handle FeatureMap differences (available since nightly 2014-07-08) ===
  
 
* Detects addition/deletion of a value for a given key of a map.
 
* Detects addition/deletion of a value for a given key of a map.
 
* Detects key change for a given value of a map.
 
* Detects key change for a given value of a map.
* Detects move of a value from a map to another (the key stay the same).
+
* Detects move of a value inside a map (the key stays the same).
* Detects move of a value from a map to another.
+
* 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).
  
/ Screenshot /
+
[[Image:EMFCompare_Library_FeatureMap_01.png]]
  
* bbalbalblablalbalb
+
* 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'')
 +
[[Image:EMFCompare_Library_FeatureMap_04.png]]
  
/ Screenshot /
+
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 deactive
 +
[[Image:EMFCompare_Library_FeatureMap_02.png]]
 +
** With filter active
 +
[[Image:EMFCompare_Library_FeatureMap_03.png]]
  
 
=== Feature two ===
 
=== Feature two ===

Revision as of 05:44, 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).

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)

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 deactive

EMFCompare Library FeatureMap 02.png

    • With filter active

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