|Resource sync issue [message #904849]
||Wed, 29 August 2012 09:18
| Tobias Emitslof
Registered: July 2009
This problem occurred after we had upgraded to Eclipse 3.8 (EMF 2.8 ).|
I have two EMF models, Model A and Model B. Model B references objects in Model A.
When I open model B in an editor model A's resource is loaded into the editing domain's resource set. So far so good.
While keeping model B's editor open, I open an editor on model A, make a change then saves and close the editor.
Model B's editor receives the resource change event and unloads loads its version of the model A resource.
Here's the problem, model B's object references still points to the old objects which were discarded when the resource was reloaded.
In the previous EMF version this worked out of the box. Has something changed in the Resource/ResourceSet part of EMF?
[Updated on: Wed, 29 August 2012 09:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01514 seconds