ptolemy.vergil.gt
Class TransformationAttributeEditorFactory.TransformationListener

java.lang.Object
  extended by ptolemy.vergil.gt.TransformationAttributeEditorFactory.TransformationListener
All Implemented Interfaces:
ExecutionListener
Direct Known Subclasses:
TransformationAttributeController.Listener
Enclosing class:
TransformationAttributeEditorFactory

public static class TransformationAttributeEditorFactory.TransformationListener
extends java.lang.Object
implements ExecutionListener


Field Summary
protected  BasicGraphFrame _frame
           
protected  CompositeEntity _model
           
protected  PteraModalModel _transformation
           
 
Constructor Summary
TransformationAttributeEditorFactory.TransformationListener(PteraModalModel transformation, CompositeEntity model, BasicGraphFrame frame)
           
 
Method Summary
 void executionError(Manager manager, java.lang.Throwable throwable)
          Report an execution failure.
 void executionFinished(Manager manager)
          Report that the current execution has finished and the wrapup sequence has completed normally.
 void managerStateChanged(Manager manager)
          Report that the manager has changed state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_frame

protected BasicGraphFrame _frame

_model

protected CompositeEntity _model

_transformation

protected PteraModalModel _transformation
Constructor Detail

TransformationAttributeEditorFactory.TransformationListener

public TransformationAttributeEditorFactory.TransformationListener(PteraModalModel transformation,
                                                                   CompositeEntity model,
                                                                   BasicGraphFrame frame)
Method Detail

executionError

public void executionError(Manager manager,
                           java.lang.Throwable throwable)
Description copied from interface: ExecutionListener
Report an execution failure. This method will be called when an exception or error is caught by a manager. Exceptions are reported this way when the run() or startRun() methods of the manager are used to perform the execution. If instead the execute() method is used, then exceptions are not caught, and are instead just passed up to the caller of the execute() method. Those exceptions are not reported here (unless, of course, the caller of the execute() method does so).

Specified by:
executionError in interface ExecutionListener
Parameters:
manager - The manager controlling the execution.
throwable - The throwable to report.

executionFinished

public void executionFinished(Manager manager)
Description copied from interface: ExecutionListener
Report that the current execution has finished and the wrapup sequence has completed normally. The number of successfully completed iterations can be obtained by calling getIterationCount() on the manager.

Specified by:
executionFinished in interface ExecutionListener
Parameters:
manager - The manager controlling the execution.

managerStateChanged

public void managerStateChanged(Manager manager)
Description copied from interface: ExecutionListener
Report that the manager has changed state. To access the new state, use the getState() method of Manager.

Specified by:
managerStateChanged in interface ExecutionListener
Parameters:
manager - The manager controlling the execution.
See Also:
Manager.getState()