Resolving Proxies [message #1853903] |
Thu, 21 July 2022 15:24  |
Eclipse User |
|
|
|
I have an xtext based model that I'm using with EMF Compare. When comparing the two models using the UI, there are errneous reference changes. This is a result of the "changed" values being proxies. The model supports references to other files but in this particular case, the proxies are references to objects within thge same resource. The URIs for the proxies are different but the resolved objects are correctly matched by EMF Compare.
I was able to get comparisong to work as desired by resolving the relevant proxies during postMatch() in a IPostProcessor. Is there a more appropriate way to ensure these proxies are resolved and that the comparison works as expected?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03381 seconds