Skip to main content



      Home
Home » Modeling » EMF » Resource sync issue
Resource sync issue [message #904849] Wed, 29 August 2012 05:18
Eclipse UserFriend
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?

Any ideas?

Best regards,
Tobias

[Updated on: Wed, 29 August 2012 05:20] by Moderator

Previous Topic:Extending DeleteAction/Command not undoable
Next Topic:Adding classes to generated Package
Goto Forum:
  


Current Time: Tue Nov 04 03:11:05 EST 2025

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

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

Back to the top