Package ptolemy.vergil.tree
Class EntityTreeModel.TreeUpdateListener
- java.lang.Object
-
- ptolemy.vergil.tree.EntityTreeModel.TreeUpdateListener
-
- All Implemented Interfaces:
ChangeListener
- Enclosing class:
- EntityTreeModel
public class EntityTreeModel.TreeUpdateListener extends java.lang.Object implements ChangeListener
A ChangeListener that updates the Tree.
-
-
Constructor Summary
Constructors Constructor Description TreeUpdateListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeExecuted(ChangeRequest change)Trigger an update of the tree.voidchangeFailed(ChangeRequest change, java.lang.Exception exception)Trigger an update of the tree.
-
-
-
Method Detail
-
changeExecuted
public void changeExecuted(ChangeRequest change)
Trigger an update of the tree. If the change request indicates that it is localized, then only the relevant portion of the tree is updated. Otherwise, the entire tree is modified.- Specified by:
changeExecutedin interfaceChangeListener- 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)
Trigger an update of the tree. If the change request indicates that it is localized, then only the relevant portion of the tree is updated. Otherwise, the entire tree is modified.- Specified by:
changeFailedin interfaceChangeListener- Parameters:
change- The change that was attempted or null if the change was not done via a ChangeRequest.exception- The exception that resulted.
-
-