Class PerspectiveNavNode
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
- 
- com.inductiveautomation.ignition.designer.navtree.model.MutableNavTreeNode
- 
- com.inductiveautomation.perspective.designer.PerspectiveNavNode
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<AbstractNavTreeNode>,- javax.swing.tree.TreeNode
 
 public class PerspectiveNavNode extends MutableNavTreeNode 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodeAbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.MutableNavTreeNodeBY_NAME, BY_SORT_ORDER
 - 
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodebold, children, childrenLoaded, copyAction, copyPathAction, cutAction, deleteAction, depth, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
 
- 
 - 
Constructor SummaryConstructors Constructor Description PerspectiveNavNode(java.util.function.Supplier<ViewWorkspace> workspace)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetWorkspaceName()Returns the name of the desired workspace for this node.protected booleanisTopLevelNode()Indicates whether this node is the "root" of a given tree; primarily used to offer different edit optionsprotected java.util.List<AbstractNavTreeNode>loadChildren()Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set.voidonSelected()Called when this node is selected in the treevoidshowPopupMenu(java.awt.Component source, int x, int y, int modifiers, javax.swing.tree.TreePath[] paths, java.util.List<AbstractNavTreeNode> selection)Called when a popup triggering event (right click) occurs over this node.- 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.MutableNavTreeNodeaddChild, isChildrenSorted, newComparator
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodeaddBadges, addEditActions, canCopy, canDelete, canDrag, canDrop, canPaste, checkChildren, children, confirmDelete, createResourceCopy, debug, debug, dispatchSelectionEvent, doCopy, doCut, doDelete, doPaste, expand, expandAndSelect, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getDeleteAction, getDepth, getExpandedIcon, getIcon, getIndex, getModel, getName, getParent, getPopupActions, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, initPopupMenu, install, isBold, isEditable, isEditActionHandler, isItalic, isLeaf, isRestricted, isSelected, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, onDoubleClick, onEdit, pathToRoot, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, setupEditActions, toString, uninstall, uninstallChildren, useThumbnailTooltip, visitIfLoaded
 
- 
 
- 
- 
- 
Constructor Detail- 
PerspectiveNavNodepublic PerspectiveNavNode(java.util.function.Supplier<ViewWorkspace> workspace) 
 
- 
 - 
Method Detail- 
getWorkspaceNamepublic java.lang.String getWorkspaceName() Description copied from class:AbstractNavTreeNodeReturns 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:
- getWorkspaceNamein class- AbstractNavTreeNode
 
 - 
onSelectedpublic void onSelected() Description copied from class:AbstractNavTreeNodeCalled when this node is selected in the tree- Overrides:
- onSelectedin class- AbstractNavTreeNode
 
 - 
isTopLevelNodeprotected boolean isTopLevelNode() Description copied from class:AbstractNavTreeNodeIndicates whether this node is the "root" of a given tree; primarily used to offer different edit options- Overrides:
- isTopLevelNodein class- AbstractNavTreeNode
 
 - 
showPopupMenupublic 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:AbstractNavTreeNodeCalled when a popup triggering event (right click) occurs over this node.- Overrides:
- showPopupMenuin 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.
 
 - 
loadChildrenprotected java.util.List<AbstractNavTreeNode> loadChildren() Description copied from class:AbstractNavTreeNodeCalled 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:
- loadChildrenin class- AbstractNavTreeNode
 
 
- 
 
-