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:
- java.lang.Iterable<AbstractNavTreeNode>,- javax.swing.tree.TreeNode
 
 public class ViewFolderNode extends ResourceFolderNode 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNodeFolderNode.FindReplaceAction, FolderNode.NewFolderAction
 - 
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.tabbedworkspace.ResourceFolderNodeworkspace
 - 
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNodeexpandedIcon, newFolderAction, RESOURCE_COMPARATOR, resourceScope
 - 
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodecontext, editDocumentationAction, editDocumentationMenuItem, exportAction, inheritedIcon, overrideAction, overrideEnabledAction, overrideEnabledMenuItem, protectedAction, protectedMenuItem, resourceId, resourcePath, restricted, revertAction, revertMenuItem
 - 
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 ViewFolderNode(DesignerContext context, ViewWorkspace workspace)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanCopy(java.util.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)java.awt.datatransfer.TransferabledoCopy(java.util.List<? extends AbstractNavTreeNode> selectedChildren)Called when the copy action is performed.javax.swing.IcongetExpandedIcon()Returns an alternate icon for when this node is expanded, if applicable.protected java.lang.Iterable<AbstractNavTreeNode.PopupAction>getPopupActions()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(javax.swing.JPopupMenu menu, javax.swing.tree.TreePath[] paths, java.util.List<AbstractNavTreeNode> selection, int modifiers)Default implementation calls setupEditActions(), and then addEditActions()- 
Methods inherited from class com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceFolderNodecanDrag, canDrop, canPaste, doCut, doDelete, doPaste, getSortOrder, getWorkspaceName, onSelected
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNodeaddOverrideEnabledMenuItem, addRevertMenuItem, canPaste, getPath, getResourceType, install, isEditActionHandler, isProtectedEnabled, isTopLevelNode, loadChildren, pastingOnSelf, project, setName, setupEditActions, uninstall
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodeaddBadges, addConcurrentUsersBadges, addDocumentationMenuItem, addEditActions, addExportMenuItem, addNotesBadge, addProtectMenuItem, alterName, canDelete, commitIfOpen, editDocumentation, gatherChildrenIds, getIcon, getInvalidNameErrorMessage, getProjectResource, getResourceId, getResourcePath, isChanged, isEditable, isInherited, isLocal, isOpen, isOverridden, isOverrideEnabled, isRestricted, isValid, onDoubleClick, onEdit, onResourceModified, open, revert, selectChild, setOverrideEnabled, setProtected, setRevertedResourcePath
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodecheckChildren, children, confirmDelete, createResourceCopy, debug, debug, dispatchSelectionEvent, expand, expandAndSelect, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getDeleteAction, getDepth, getIndex, getModel, getName, getParent, getSelectionModel, getText, getThumbnail, getTooltip, isBold, isItalic, isLeaf, isSelected, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setText, setThumbnail, setTooltip, showPopupMenu, toString, uninstallChildren, useThumbnailTooltip, visitIfLoaded
 
- 
 
- 
- 
- 
Constructor Detail- 
ViewFolderNodepublic ViewFolderNode(DesignerContext context, ViewWorkspace workspace) 
 
- 
 - 
Method Detail- 
getExpandedIconpublic javax.swing.Icon getExpandedIcon() Description copied from class:AbstractNavTreeNodeReturns an alternate icon for when this node is expanded, if applicable. Default implementation simply returns getIcon()- Overrides:
- getExpandedIconin class- ResourceFolderNode
 
 - 
canCopypublic boolean canCopy(java.util.List<AbstractNavTreeNode> selectedChildren) 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 class- AbstractResourceNavTreeNode
 
 - 
doCopypublic java.awt.datatransfer.Transferable doCopy(java.util.List<? extends AbstractNavTreeNode> selectedChildren) Description copied from class:AbstractNavTreeNodeCalled when the copy action is performed.- Overrides:
- doCopyin class- ResourceFolderNode
- Returns:
- the current selection as a Transferable, or null if the copy failed. Will be added to the system clipboard.
 
 - 
createChildNodeprotected AbstractNavTreeNode createChildNode(ProjectResource resource) - Overrides:
- createChildNodein class- ResourceFolderNode
 
 - 
getPopupActionsprotected java.lang.Iterable<AbstractNavTreeNode.PopupAction> 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 class- AbstractResourceNavTreeNode
 
 - 
initPopupMenuprotected void initPopupMenu(javax.swing.JPopupMenu menu, javax.swing.tree.TreePath[] paths, java.util.List<AbstractNavTreeNode> selection, int modifiers)Description copied from class:AbstractNavTreeNodeDefault implementation calls setupEditActions(), and then addEditActions()- Overrides:
- initPopupMenuin class- ResourceFolderNode
 
 
- 
 
-