Class 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 Detail

      • TreeUpdateListener

        public TreeUpdateListener()
    • 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:
        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)
        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:
        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.