Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbblajer2006-11-20 16:24:25 +0000
committerbblajer2006-11-20 16:24:25 +0000
commit795768f4dbb373923a59889cc6e54e8dc05c028b (patch)
tree25240541beffb02ff26e19dc595788a88a4e4453 /plugins/org.eclipse.gmf.runtime.lite/src/org
parent5f1ae4df610853f8f41babbb8e0be182e5f12209 (diff)
downloadorg.eclipse.gmf-tooling-795768f4dbb373923a59889cc6e54e8dc05c028b.tar.gz
org.eclipse.gmf-tooling-795768f4dbb373923a59889cc6e54e8dc05c028b.tar.xz
org.eclipse.gmf-tooling-795768f4dbb373923a59889cc6e54e8dc05c028b.zip
[165167]: Unregister listeners when editor is closed
Diffstat (limited to 'plugins/org.eclipse.gmf.runtime.lite/src/org')
-rw-r--r--plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/parts/DiagramDisplayer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/parts/DiagramDisplayer.java b/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/parts/DiagramDisplayer.java
index 2aea87809..c61fb3e28 100644
--- a/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/parts/DiagramDisplayer.java
+++ b/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/parts/DiagramDisplayer.java
@@ -120,6 +120,8 @@ public class DiagramDisplayer implements IDiagramOutlineHost {
// remove selection listener
myDiagramManager.getSite().getWorkbenchWindow().getSelectionService().removeSelectionListener(selectionListener);
+ myDiagramManager.getSite().getPart().removePropertyListener(propertyListener);
+
getEditDomain().setActiveTool(null);
// dispose the ActionRegistry (will dispose all actions)

Back to the top