Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF Diff/Merge » Coevolution with reference outside scope
Coevolution with reference outside scope [message #1807032] Tue, 21 May 2019 13:13 Go to next message
labine labine is currently offline labine labineFriend
Messages: 10
Registered: December 2015
Junior Member
Hi,

I have differences in my coevolution then I don't change the model.


In my case,

I transform a source object A in a target object B. In the B object, i create programmatically a link who references the source object A. But when I execute a coevolution, the UI merge editor indicates a difference on the reference of the A object.

Do you have an idea ?

Thanks
Re: Coevolution with reference outside scope [message #1807090 is a reply to message #1807032] Wed, 22 May 2019 12:18 Go to previous message
Olivier Constant is currently offline Olivier ConstantFriend
Messages: 106
Registered: January 2012
Senior Member
Hi,

You can disable the detection of out-of-scope value elements, if that is what you are looking for.

Just customize the diff policy as follows:
boolean coverOutOfScopeValue(EObject element_p, EReference reference_p) -> return false.
Previous Topic:Filtering results in dialog
Next Topic:Disable the Coevolution
Goto Forum:
  


Current Time: Tue Apr 16 18:11:16 GMT 2024

Powered by FUDForum. Page generated in 0.65077 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top