ptolemy.vergil.actor
Class ActorGraphModel.LinkModel.LinkChangeListener
java.lang.Object
ptolemy.vergil.actor.ActorGraphModel.LinkModel.LinkChangeListener
- All Implemented Interfaces:
- ChangeListener
- Enclosing class:
- ActorGraphModel.LinkModel
- public class ActorGraphModel.LinkModel.LinkChangeListener
- extends java.lang.Object
- implements ChangeListener
This change listener is responsible for dispatching graph events
when an edge is moved. It works the same for heads and tails.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActorGraphModel.LinkModel.LinkChangeListener
public ActorGraphModel.LinkModel.LinkChangeListener(Link link,
CompositeEntity container,
java.lang.StringBuffer failMoML)
changeFailed
public void changeFailed(ChangeRequest change,
java.lang.Exception exception)
- Description copied from interface:
ChangeListener
- React to a change request has resulted in an exception.
This method is called after a change request was executed,
but during the execution an exception was thrown.
- Specified by:
changeFailed in interface ChangeListener
- Parameters:
change - The change that was attempted or null if
the change was not done via a ChangeRequest.exception - The exception that resulted.
changeExecuted
public void changeExecuted(ChangeRequest change)
- Description copied from interface:
ChangeListener
- React to a change request has been successfully executed.
This method is called after a change request
has been executed successfully.
- Specified by:
changeExecuted in interface ChangeListener
- Parameters:
change - The change that has been executed, or null if
the change was not done via a ChangeRequest.