Class PerspectiveNavNode

    • Constructor Detail

      • PerspectiveNavNode

        public PerspectiveNavNode​(java.util.function.Supplier<ViewWorkspace> workspace)
    • Method Detail

      • getWorkspaceName

        public java.lang.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
      • 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​(java.awt.Component source,
                                  int x,
                                  int y,
                                  int modifiers,
                                  javax.swing.tree.TreePath[] paths,
                                  java.util.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.