|Re: move [message #1774115 is a reply to message #1773936]
||Tue, 10 October 2017 17:23
|| Philip Langer
Registered: March 2015
Location: Vienna, Austria
whether it is a move or an addition/deletion is defined by the identity function that determines the identity of the model elements during the matching phase. If the Device1 on the left side is matched to the Device1 on the right side during the matching phase, EMF Compare will report a move. If it isn't matched, EMF Compare will report an addition and deletion instead.
You can configure/customize the identity function or the entire matcher regarding your needs. By default, EMF Compare's matcher will use the identity of the EObject for the matching. The identity of the EObject is either the value of the id-attribute, according to its ecore model, or the XMI:ID, if available. Please have a look at the section about matching in the customization guide for more info.
Hope that helps,
Get professional Eclipse developer support:
Powered by FUDForum
. Page generated in 0.01671 seconds