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:
Iterable<AbstractNavTreeNode>
,TreeNode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
AbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.MutableNavTreeNode
BY_NAME, BY_SORT_ORDER
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
bold, children, childrenLoaded, copyAction, copyPathAction, cutAction, deleteAction, depth, discardOverridesAction, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the desired workspace for this node.protected boolean
Indicates whether this node is the "root" of a given tree; primarily used to offer different edit optionsprotected List<AbstractNavTreeNode>
Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set.void
Called when this node is selected in the treevoid
showPopupMenu
(Component source, int x, int y, int modifiers, TreePath[] paths, 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.MutableNavTreeNode
addChild, isChildrenSorted, newComparator
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
addBadges, addEditActions, 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, isModuleNode, isRestricted, isSelected, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, onDoubleClick, onEdit, pathToRoot, performOnAllChildren, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, setupEditActions, toString, uninstall, uninstallChildren, useThumbnailTooltip, visitIfLoaded
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PerspectiveNavNode
-
-
Method Details
-
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 classAbstractNavTreeNode
-
onSelected
public void onSelected()Description copied from class:AbstractNavTreeNode
Called when this node is selected in the tree- Overrides:
onSelected
in classAbstractNavTreeNode
-
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 classAbstractNavTreeNode
-
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 classAbstractNavTreeNode
- Parameters:
source
- The component to use as the invoker for the popup menu.x
- popup location x valuey
- popup location y valuemodifiers
- 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 inInputEvent.getModifiers()
)}selection
- The list of currently selected nodes.
-
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 classAbstractNavTreeNode
-