Package org.eclipse.graphiti.ui.editor
Class ElementDeleteListener
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.eclipse.graphiti.ui.editor.ElementDeleteListener
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter,org.eclipse.emf.common.notify.Adapter.Internal
public final class ElementDeleteListener extends org.eclipse.emf.common.notify.impl.AdapterImplCloses editor if model element was deleted. For instance, if only the diagram object is deleted from the resource, this listeners handles closing the editor. Probably this is a very rare case.- Since:
- 0.9
-
-
Constructor Summary
Constructors Constructor Description ElementDeleteListener(DiagramBehavior diagramBehavior)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAdapterForType(java.lang.Object type)voidnotifyChanged(org.eclipse.emf.common.notify.Notification msg)
-
-
-
Constructor Detail
-
ElementDeleteListener
public ElementDeleteListener(DiagramBehavior diagramBehavior)
- Since:
- 0.10
-
-
Method Detail
-
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
- Specified by:
isAdapterForTypein interfaceorg.eclipse.emf.common.notify.Adapter- Overrides:
isAdapterForTypein classorg.eclipse.emf.common.notify.impl.AdapterImpl
-
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
- Specified by:
notifyChangedin interfaceorg.eclipse.emf.common.notify.Adapter- Overrides:
notifyChangedin classorg.eclipse.emf.common.notify.impl.AdapterImpl
-
-