Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

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 12: Line 12:
  
 
* 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'')
[[Image:EMFCompare_Library_FeatureMap_04.png]]
+
[[Image:EMFCompare_Library_FeatureMap_04.png|center]]
  
 
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.

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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.