|Re: [0.9.1] Using Graphiti with external editing domain causes problem at clean up [message #1006406 is a reply to message #1006387]
||Thu, 31 January 2013 09:26
| Cedric Moonen
Registered: August 2009
not sure, but don't you mingle two different concepts here?
Yes indeed you are right: I thought that the getEditDomain() method in DiagramEditor was returning my own domain model.
So I first tried to override the dispose method and things were working again. But the problem was not that this editing domain was cleaned, but rather the call to
DefaultUpdateBehavior behavior = getUpdateBehavior();
which was disposing my own editing domain. So indeed, if I only override the dispose method of the update behavior, this fixes the problem too.
I didn't know that GEF also had its own editing domain.
So indeed, I don't need to override the dispose method of the DiagramEditor.
Thanks for the reply !
[Updated on: Thu, 31 January 2013 09:26]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.22255 seconds