Modelers

org.topcased.modeler.listeners
Class GraphEdgeListener

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.topcased.modeler.listeners.UIAdapterImpl
          extended by org.topcased.modeler.listeners.DiagramElementListener
              extended by org.topcased.modeler.listeners.GraphElementListener
                  extended by org.topcased.modeler.listeners.GraphEdgeListener
All Implemented Interfaces:
Adapter, Adapter.Internal
Direct Known Subclasses:
GraphEdgeEditPart.GraphEdgeEditPartListener

public abstract class GraphEdgeListener
extends GraphElementListener

Domain specific listener for GraphEdge.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
 
Field Summary
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
GraphEdgeListener()
           
 
Method Summary
 void activate(EObject listenObject)
          Install the listener on the given object and on some children
 void deactivate(EObject listenObject)
          Remove the listener on the given object and on some children
protected  void handleContainmentChanged()
           
protected abstract  void handleEdgeObjectChanged(EdgeObject modifiedEdgeObject)
           
protected  void handlePresentationChanged()
           
protected abstract  void handleWaypointsChanged()
           
protected  void safeNotifyChanged(Notification msg)
          This method is called when an event occured on the model objects.
 
Methods inherited from class org.topcased.modeler.listeners.GraphElementListener
handleConnectorChanged, handlePositionChanged
 
Methods inherited from class org.topcased.modeler.listeners.DiagramElementListener
handlePropertyChanged, handlePropertyChanged, handleVisibilityChanged, updateEObjectListening
 
Methods inherited from class org.topcased.modeler.listeners.UIAdapterImpl
notifyChanged
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphEdgeListener

public GraphEdgeListener()
Method Detail

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 GraphElementListener
Parameters:
listenObject - the object to listen
See Also:
GraphElementListener.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 GraphElementListener
Parameters:
listenObject - the object to unlisten
See Also:
GraphElementListener.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 GraphElementListener
Parameters:
msg - the event notification
See Also:
UIAdapterImpl.safeNotifyChanged(org.eclipse.emf.common.notify.Notification)

handleContainmentChanged

protected void handleContainmentChanged()
Specified by:
handleContainmentChanged in class GraphElementListener
See Also:
GraphElementListener.handleContainmentChanged()

handlePresentationChanged

protected void handlePresentationChanged()
Specified by:
handlePresentationChanged in class GraphElementListener
See Also:
GraphElementListener.handlePresentationChanged()

handleWaypointsChanged

protected abstract void handleWaypointsChanged()

handleEdgeObjectChanged

protected abstract void handleEdgeObjectChanged(EdgeObject modifiedEdgeObject)

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.