Class ViewFolderNode
java.lang.Object
com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
com.inductiveautomation.ignition.designer.navtree.model.FolderNode
com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceFolderNode
com.inductiveautomation.perspective.designer.workspace.nav.ViewFolderNode
- All Implemented Interfaces:
Iterable<AbstractNavTreeNode>,TreeNode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNode
FolderNode.FindReplaceAction, FolderNode.NewFolderActionNested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
AbstractResourceNavTreeNode.OverrideResult, AbstractResourceNavTreeNode.OverrideResultStatusNested 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.tabbedworkspace.ResourceFolderNode
workspaceFields inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNode
expandedIcon, newFolderAction, RESOURCE_COMPARATOR, resourceScopeFields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
context, editDocumentationAction, editDocumentationMenuItem, exportAction, inheritedIcon, overrideAction, overrideEnabledAction, overrideEnabledMenuItem, protectedAction, protectedMenuItem, resourceId, resourcePath, restricted, revertAction, revertMenuItemFields 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
ConstructorsConstructorDescriptionViewFolderNode(DesignerContext context, ViewWorkspace workspace) Constructor for the root View node -
Method Summary
Modifier and TypeMethodDescriptionbooleancanCopy(List<AbstractNavTreeNode> selectedChildren) Can this edit action handler handle the copy action, given its current selection? Note that if this andAbstractNavTreeNode.canDelete(java.util.List)both return true, the cut action will also be enabled.protected AbstractNavTreeNodecreateChildNode(ProjectResource resource) doCopy(List<? extends AbstractNavTreeNode> selectedChildren) Called when the copy action is performed.Returns an alternate icon for when this node is expanded, if applicable.protected Iterable<AbstractNavTreeNode.PopupAction>Provide a list ofPopupActions that will be set up byAbstractNavTreeNode.setupEditActions(javax.swing.tree.TreePath[], java.util.List<com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode>); that is, will have theirAbstractNavTreeNode.PopupAction.selectionandAbstractNavTreeNode.PopupAction.actionHandlerset.protected voidinitPopupMenu(JPopupMenu menu, TreePath[] paths, List<AbstractNavTreeNode> selection, int modifiers) Default implementation calls setupEditActions(), and then addEditActions()Methods inherited from class com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceFolderNode
canDrag, canDrop, canPaste, doCut, doDelete, doPaste, getSortOrder, getWorkspaceName, onSelectedMethods inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNode
addOverrideEnabledMenuItem, addRevertMenuItem, canPaste, getPath, getResourceType, install, isEditActionHandler, isOverridden, isProtectedEnabled, isTopLevelNode, loadChildren, modifyOverrideAction, override, pastingOnSelf, project, requiresRecreate, setName, setupEditActions, uninstallMethods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
addActionsForInheritedNodes, addBadges, addConcurrentUsersBadges, addDeleteOrDiscardOverridesMenuItem, addDocumentationMenuItem, addEditActions, addExportMenuItem, addInheritedBadge, addNotesBadge, addOverriddenBadge, addOverrideOrDiscardOverridesMenuItem, addProtectMenuItem, alterName, canDelete, commitIfOpen, editDocumentation, gatherChildrenIds, getAdditionalExportIds, getDeleteAction, getInheritanceString, getInvalidNameErrorMessage, getProjectResource, getResourceId, getResourcePath, inherited, isChanged, isEditable, isInherited, isLocal, isOpen, isOverrideEnabled, isRestricted, isValid, notInherited, onDoubleClick, onEdit, onResourceModified, open, overridden, revert, selectChild, setOverrideEnabled, setProtected, setRevertedResourcePathMethods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
addEditActions, checkChildren, children, confirmDelete, createResourceCopy, debug, debug, dispatchSelectionEvent, expand, expandAndSelect, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getDepth, getIcon, getIndex, getModel, getName, getParent, getSelectionModel, getText, getThumbnail, getTooltip, isBold, isItalic, isLeaf, isModuleNode, isSelected, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, performOnAllChildren, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setText, setThumbnail, setTooltip, showPopupMenu, toString, uninstallChildren, useThumbnailTooltip, visitIfLoadedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ViewFolderNode
Constructor for the root View node
-
-
Method Details
-
getExpandedIcon
Description copied from class:AbstractNavTreeNodeReturns an alternate icon for when this node is expanded, if applicable. Default implementation simply returns getIcon()- Overrides:
getExpandedIconin classResourceFolderNode
-
canCopy
Description copied from class:AbstractNavTreeNodeCan this edit action handler handle the copy action, given its current selection? Note that if this andAbstractNavTreeNode.canDelete(java.util.List)both return true, the cut action will also be enabled.- Overrides:
canCopyin classAbstractResourceNavTreeNode
-
doCopy
Description copied from class:AbstractNavTreeNodeCalled when the copy action is performed.- Overrides:
doCopyin classResourceFolderNode- Returns:
- the current selection as a
Transferable, or null if the copy failed. Will be added to the system clipboard.
-
createChildNode
- Overrides:
createChildNodein classResourceFolderNode
-
getPopupActions
Description copied from class:AbstractNavTreeNodeProvide a list ofPopupActions that will be set up byAbstractNavTreeNode.setupEditActions(javax.swing.tree.TreePath[], java.util.List<com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode>); that is, will have theirAbstractNavTreeNode.PopupAction.selectionandAbstractNavTreeNode.PopupAction.actionHandlerset.- Overrides:
getPopupActionsin classAbstractResourceNavTreeNode
-
initPopupMenu
protected void initPopupMenu(JPopupMenu menu, TreePath[] paths, List<AbstractNavTreeNode> selection, int modifiers) Description copied from class:AbstractNavTreeNodeDefault implementation calls setupEditActions(), and then addEditActions()- Overrides:
initPopupMenuin classResourceFolderNode
-