Shared Editing Domain disposed when closing editor [message #210839] |
Tue, 11 November 2008 09:25 |
Eclipse User |
|
|
|
Originally posted by: Soeren.Kemmann.iese.fraunhofer.de
Hello,
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
memory).
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!
Cheers,
Soeren
|
|
|
|
Powered by
FUDForum. Page generated in 0.03400 seconds