Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » Open a saved comparison model
Open a saved comparison model [message #1774770] Thu, 19 October 2017 13:48 Go to next message
Pauline Deville is currently offline Pauline DevilleFriend
Messages: 130
Registered: November 2016
Location: Paris Saclay, France
Senior Member
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 07:23 Go to previous messageGo to next message
Philip Langer is currently offline Philip LangerFriend
Messages: 99
Registered: March 2015
Location: Vienna, Austria
Member

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


--
Philip Langer

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: Open a saved comparison model [message #1774830 is a reply to message #1774826] Fri, 20 October 2017 08:19 Go to previous message
Pauline Deville is currently offline Pauline DevilleFriend
Messages: 130
Registered: November 2016
Location: Paris Saclay, France
Senior Member
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: Tue Dec 10 15:38:47 GMT 2024

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

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

Back to the top