|Re: Open a saved comparison model [message #1774826 is a reply to message #1774770]
||Fri, 20 October 2017 07:23
|| Philip Langer
Registered: March 2015
Location: Vienna, Austria
the result of a comparison is a plain EMF model, so serializing and loading it from a file should be no problem. You could then load the comparison model later, create a ComparisonEditorInput and open the UI to show the comparison (see also https://wiki.eclipse.org/EMF_Compare/How_To_Open_Compare_Dialog_With_Comparison).
However, keep in mind that the comparison model is not self-contained but references the compared models to point to the changed elements, the changed values, etc. Thus, the comparison model really only makes sense together with exactly the compared models. Just storing the comparison will hence not be enough.
Hope that helps!
Get professional Eclipse developer support:
Powered by FUDForum
. Page generated in 0.01553 seconds