Skip to main content



      Home
Home » Modeling » Compare » Open a saved comparison model
Open a saved comparison model [message #1774770] Thu, 19 October 2017 09:48 Go to next message
Eclipse UserFriend
Hello,

I would like to save the model comparison to be able to reopen it later.

Is there a way to reopen the model comparison whether with the comparison editor or an other editor ?

Thank you,
Pauline
Re: Open a saved comparison model [message #1774826 is a reply to message #1774770] Fri, 20 October 2017 03:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pauline,

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!

Best wishes,

Philip
Re: Open a saved comparison model [message #1774830 is a reply to message #1774826] Fri, 20 October 2017 04:19 Go to previous message
Eclipse UserFriend
Hi Philip,

Thank you for your quick answer. It's help me, since we need compared models to interpret the comparison model, so save it is not really useful I can just do the comparison again.

Best regards,
Pauline
Previous Topic:move
Next Topic:Merging UML models with different profile versions
Goto Forum:
  


Current Time: Sun Apr 27 16:41:53 EDT 2025

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

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

Back to the top