Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 386219 - [EMF Compare] The API should provides the following possibilities
Summary: [EMF Compare] The API should provides the following possibilities
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 330183
  Show dependency tree
 
Reported: 2012-07-30 04:10 EDT by Vincent Lorenzo CLA
Modified: 2016-09-21 04:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2012-07-30 04:10:44 EDT
The API should provides the following possibilities : 
	- forbid the merge from right to left and/or left to right
	- ignore differences on defined features : 
			the API should allow to ignore all differences with this feature OR ignore the differences on this feature only on some elements
		-> 2 cases to manage: 
			1/ the difference on the feature is not required by another DiffElement -> easy, we destroy the concerned DiffElement
		    2/ the difference on the feature is required by another DiffElement -> 2 possibilities : 
		    	a/ we don't manage this case
		    	b/ we destroy all the linked DiffElement to avoid inconsistent merge
   - these options should be declared in the same map as the othe Compare Options (IGNORE_XMI_ID, ...)
Comment 1 Vincent Lorenzo CLA 2012-07-30 09:12:23 EDT
R8654 : 
Commit the possibilities to forbid the merge (left to right and/or right to left) + JUnit tests for standalone comparisons (works) and nested comparisons (don't work)
Comment 2 Vincent Lorenzo CLA 2012-07-31 08:20:22 EDT
R8678 : 
Commit to support the following options : 
  declared features that should be ignored during the comparison.

 - currently it doesn't work for ModelElementChangeLeft/Right
 - not JUnit test are provided, but current tests continue to work fine!
Comment 3 Vincent Lorenzo CLA 2012-08-01 08:58:03 EDT
The commit R8678 allows to do work the forbid comparison for the nested comparison -> the Junit tests works now!
Comment 4 Vincent Lorenzo CLA 2016-09-21 04:59:01 EDT
This bug can be marked as closed. This framework is now deprecated, according to the bug 501891.