ptolemy.vergil.gt
Class TransformationAttributeController.Listener
java.lang.Object
ptolemy.vergil.gt.TransformationAttributeEditorFactory.TransformationListener
ptolemy.vergil.gt.TransformationAttributeController.Listener
- All Implemented Interfaces:
- java.awt.event.WindowListener, java.util.EventListener, ExecutionListener, ChangeListener
- Enclosing class:
- TransformationAttributeController
private static class TransformationAttributeController.Listener
- extends TransformationAttributeEditorFactory.TransformationListener
- implements ChangeListener, java.awt.event.WindowListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_child
private PteraGraphFrame _child
_parent
private BasicGraphFrame _parent
TransformationAttributeController.Listener
TransformationAttributeController.Listener(PteraModalModel transformation,
BasicGraphFrame parent,
PteraGraphFrame child)
throws NameDuplicationException
- Throws:
NameDuplicationException
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.
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.
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
- Overrides:
managerStateChanged
in class TransformationAttributeEditorFactory.TransformationListener
- Parameters:
manager
- The manager controlling the execution.- See Also:
Manager.getState()
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Specified by:
windowActivated
in interface java.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent e)
- Specified by:
windowClosed
in interface java.awt.event.WindowListener
windowClosing
public void windowClosing(java.awt.event.WindowEvent e)
- Specified by:
windowClosing
in interface java.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)
- Specified by:
windowDeactivated
in interface java.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)
- Specified by:
windowDeiconified
in interface java.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent e)
- Specified by:
windowIconified
in interface java.awt.event.WindowListener
windowOpened
public void windowOpened(java.awt.event.WindowEvent e)
- Specified by:
windowOpened
in interface java.awt.event.WindowListener
_addListeners
private void _addListeners()
_removeListeners
private void _removeListeners()