|
Re: CompareEditor with custom file format [message #1741470 is a reply to message #1741178] |
Thu, 25 August 2016 12:43 |
|
Hi,
If they are models you can use as EMF models, then EMF Compare should work from the get go (select both models and use compare with > each other). You might have to add your extension in the list EMF Compare knows about though. That's in the preferences (window > preferences) then "general" > "content types" and you'll see an "EMF Compare" entry on the right-hand side. You need to add yours there.
Laurent Goubet
Obeo
|
|
|
|
Re: CompareEditor with custom file format [message #1743968 is a reply to message #1741471] |
Wed, 21 September 2016 07:45 |
|
Hi,
Sorry, I somehow missed your answer.
As for your question, EMF Compare only accepts EObjects or Resources as input, so your deserializers should actually be called before you even reach anything EMF Compare specific. Could you tell us how exactly it fails or what you didn't manage to do?
Laurent Goubet
Obeo
|
|
|
|
Re: CompareEditor with custom file format [message #1745109 is a reply to message #1744917] |
Wed, 05 October 2016 09:46 |
|
Hi,
I do not know exactly how the changes are reflected when you save an editor input, but there should be some kind of call back in there for the save operation (when you make changes in the editor, it should be marked as dirty and allow you to "save". You'll have to look at how the save action is actually implemented in there to hook into it.
Laurent Goubet
Obeo
|
|
|
Powered by
FUDForum. Page generated in 0.04396 seconds