Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 383880

Summary: [UML Compare] Profile and stereotyped element management
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: rschnekenburger
Version: 0.9.0   
Target Milestone: SR1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 384487, 384490, 385263, 385289    
Bug Blocks: 371390    

Description Vincent Lorenzo CLA 2012-06-29 07:16:01 EDT
We should verify that the comparison and the merge have the wanted behavior for Stereotyped element and applied profile.
Example : 
   - comparison between a Class stereotyped and a Class no stereotyped, with the profile applied on the 2 models
   - the comparison with no profile applied on 1 of the Model
   - comparison when a property of a stereotype change...
Comment 1 Vincent Lorenzo CLA 2012-06-29 09:40:55 EDT
Some model example commited in R8484 and R8485, in oep.uml.compare.diff.tests show that stereotype application is not showed in the editor.

(JUnit tests are NOT yet provided)
Comment 2 Vincent Lorenzo CLA 2012-06-29 09:42:31 EDT
R8486 : change the inheritance of the DiffEngine used for the comparison in Papyrus Compare. -> Now we extends the UML2DiffEngine
provided by EMF-Compare. 
We should develop ITransactionalMerger for the new DiffElement provided by EMF-Compare
Comment 3 Vincent Lorenzo CLA 2012-06-29 12:07:50 EDT
R8482: Implements specific mergers for StereotypeApplication and ProfileApplication.
Correct the content provider which shaw StereotypeApplication object as a root of the model

-> Now the merge is correctly done, but JUnit tests are not yet implemented
Comment 4 Vincent Lorenzo CLA 2012-07-03 06:03:33 EDT
R8504 : commit changes to get the correct comparison for the properties of stereotypes.

The merger are not yet provided for stereotype properties!
Comment 5 Vincent Lorenzo CLA 2012-07-03 10:09:41 EDT
R8509 : provides the mergers for the changes in the values of the stereotype.

A JUnit tests should be provided for that
Comment 6 Vincent Lorenzo CLA 2012-07-18 09:37:32 EDT
From R8482 to R8599 (of course, all commits done are not for this bug!) : development of the tests for the stereotypes and profile management.
Comment 7 Camille Letavernier CLA 2014-03-26 05:14:38 EDT
This is solved with the EMF Compare 2.x integration