org.topcased.modeler.listeners
Class GraphElementListener
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.topcased.modeler.listeners.UIAdapterImpl
org.topcased.modeler.listeners.DiagramElementListener
org.topcased.modeler.listeners.GraphElementListener
- All Implemented Interfaces:
- Adapter, Adapter.Internal
- Direct Known Subclasses:
- GraphEdgeListener, GraphNodeListener
public abstract class GraphElementListener
- extends DiagramElementListener
Domain specific listener for GraphElement.
Listens the GraphElement and its contained Connectors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphElementListener
public GraphElementListener()
activate
public void activate(EObject listenObject)
- Description copied from class:
DiagramElementListener
- Install the listener on the given object and on some children
- Overrides:
activate
in class DiagramElementListener
- Parameters:
listenObject
- the object to listen- See Also:
DiagramElementListener.activate(org.eclipse.emf.ecore.EObject)
deactivate
public void deactivate(EObject listenObject)
- Description copied from class:
DiagramElementListener
- Remove the listener on the given object and on some children
- Overrides:
deactivate
in class DiagramElementListener
- Parameters:
listenObject
- the object to unlisten- See Also:
DiagramElementListener.deactivate(org.eclipse.emf.ecore.EObject)
safeNotifyChanged
protected void safeNotifyChanged(Notification msg)
- Description copied from class:
UIAdapterImpl
- This method is called when an event occured on the model objects.
This method is always called in the Ui thread
- Overrides:
safeNotifyChanged
in class DiagramElementListener
- Parameters:
msg
- the event notification- See Also:
UIAdapterImpl.safeNotifyChanged(org.eclipse.emf.common.notify.Notification)
handlePositionChanged
protected abstract void handlePositionChanged()
handleContainmentChanged
protected abstract void handleContainmentChanged()
handleConnectorChanged
protected abstract void handleConnectorChanged()
handlePresentationChanged
protected abstract void handlePresentationChanged()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.