Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Shared Editing Domain disposed when closing editor
Shared Editing Domain disposed when closing editor [message #210839] Tue, 11 November 2008 09:25 Go to next message
Eclipse UserFriend
Originally posted by:


I have created a GMF Editor with a SharedEditingDomain, furthermore, I have
the feature that another instance of the same editor opens when the users
double-clicks on a part. This happens of course in the same editing domain
and in the same ResourceSet (otherwise the model would be dublicated in
When I open one editor and double-click on an element to open another editor
everything works fine until I close one editor. There are emerging a couple
of NullPointerExceptions. Debug revealed that the diagram.eResource is a
eProxy now, so the resource is somehow disposed/unloaded.
Does any one had the same issue before, or can anyone tell me where the
resource (for the closing editor) is unloaded/disposed?

Thanks a lot!
Re: Shared Editing Domain disposed when closing editor [message #210888 is a reply to message #210839] Tue, 11 November 2008 11:27 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Soeren,

By default all the resources will be unloaded in a generated XXXDocumentProvider.disposeElementInfo()

Alex Shatalin
Previous Topic:Remove referenced nodes
Next Topic:How to make more editor working in an rcp application
Goto Forum:

Current Time: Mon May 17 03:54:48 GMT 2021

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

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

Back to the top