Class PerspectiveNavNode

All Implemented Interfaces:
Iterable<AbstractNavTreeNode>, TreeNode

public class PerspectiveNavNode extends MutableNavTreeNode
  • Constructor Details

  • Method Details

    • getWorkspaceName

      public String getWorkspaceName()
      Description copied from class: AbstractNavTreeNode
      Returns the name of the desired workspace for this node. Default behavior is to delegate to the parent. null mean's don't affect workspace selection.
      Overrides:
      getWorkspaceName in class AbstractNavTreeNode
    • onSelected

      public void onSelected()
      Description copied from class: AbstractNavTreeNode
      Called when this node is selected in the tree
      Overrides:
      onSelected in class AbstractNavTreeNode
    • isTopLevelNode

      protected boolean isTopLevelNode()
      Description copied from class: AbstractNavTreeNode
      Indicates whether this node is the "root" of a given tree; primarily used to offer different edit options
      Overrides:
      isTopLevelNode in class AbstractNavTreeNode
    • showPopupMenu

      public void showPopupMenu(Component source, int x, int y, int modifiers, TreePath[] paths, List<AbstractNavTreeNode> selection)
      Description copied from class: AbstractNavTreeNode
      Called when a popup triggering event (right click) occurs over this node.
      Overrides:
      showPopupMenu in class AbstractNavTreeNode
      Parameters:
      source - The component to use as the invoker for the popup menu.
      x - popup location x value
      y - popup location y value
      modifiers - extended modifier mask for this event, e.g. this which end with the _DOWN_MASK suffix, such as ALT_DOWN_MASK, BUTTON1_DOWN_MASK, and others, as defined in InputEvent.getModifiers() )}
      selection - The list of currently selected nodes.
    • loadChildren

      protected List<AbstractNavTreeNode> loadChildren()
      Description copied from class: AbstractNavTreeNode
      Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set. Override to use lazy child loading.
      Overrides:
      loadChildren in class AbstractNavTreeNode