ptolemy.vergil.gt
Class TransformationAttributeEditorFactory.TransformationListener
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_frame
protected BasicGraphFrame _frame
_model
protected CompositeEntity _model
_transformation
protected PteraModalModel _transformation
TransformationAttributeEditorFactory.TransformationListener
public TransformationAttributeEditorFactory.TransformationListener(PteraModalModel transformation,
CompositeEntity model,
BasicGraphFrame frame)
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()