Class TemplateFolderNode
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.factorypmi.designer.model.navtree.TemplateFolderNode
- All Implemented Interfaces:
- Iterable<AbstractNavTreeNode>,- TreeNode
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNodeFolderNode.FindReplaceAction, FolderNode.NewFolderActionNested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodeAbstractResourceNavTreeNode.OverrideResult, AbstractResourceNavTreeNode.OverrideResultStatusNested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodeAbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction
- 
Field SummaryFields inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNodeexpandedIcon, newFolderAction, RESOURCE_COMPARATOR, resourceScopeFields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodecontext, editDocumentationAction, editDocumentationMenuItem, exportAction, inheritedIcon, overrideAction, overrideEnabledAction, overrideEnabledMenuItem, protectedAction, protectedMenuItem, resourceId, resourcePath, restricted, revertAction, revertMenuItemFields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodebold, children, childrenLoaded, copyAction, copyPathAction, cutAction, deleteAction, depth, discardOverridesAction, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.booleancanDrag(List<AbstractNavTreeNode> draggedChildren) Can the nodes controlled by this action handling node be dragged?booleancanDrop(AbstractNavTreeNode dropTarget, List<DataFlavor> flavors) booleancanPaste(List<AbstractNavTreeNode> selectedChildren, Transferable clipboard) Can this action handler handle a paste given the data flavors currently available in the clipboard? data may be null.protected AbstractNavTreeNodestatic TemplateFolderNodecreateRootNode(VisionDesignerImpl vision) doCopy(List<? extends AbstractNavTreeNode> selectedChildren) Called when the copy action is performed.doCut(List<? extends AbstractNavTreeNode> selectedChildren) Called when the cut action is performed.voiddoDelete(List<? extends AbstractNavTreeNode> selectedChildren, AbstractNavTreeNode.DeleteReason reason) Called when the delete action is performed, if confirmDelete returned truebooleandoPaste(List<? extends AbstractNavTreeNode> selectedChildren, Transferable clipboardContents, boolean isDrop) Called when the paste action is performedReturns 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.intReturns the relative sort order for peers.Returns the name of the desired workspace for this node.protected voidinitPopupMenu(JPopupMenu menu, TreePath[] paths, List<AbstractNavTreeNode> selection, int modifiers) Default implementation calls setupEditActions(), and then addEditActions()protected LoggerExvoidCalled when this node is selected in the treeMethods inherited from class com.inductiveautomation.ignition.designer.navtree.model.FolderNodeaddOverrideEnabledMenuItem, 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.AbstractResourceNavTreeNodeaddActionsForInheritedNodes, 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.AbstractNavTreeNodeaddEditActions, 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, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
TemplateFolderNode
 
- 
- 
Method Details- 
newLogger- Overrides:
- newLoggerin class- AbstractNavTreeNode
 
- 
getWorkspaceNameDescription 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
 
- 
createRootNode
- 
doCopyDescription copied from class:AbstractNavTreeNodeCalled when the copy action is performed.- Overrides:
- doCopyin class- AbstractNavTreeNode
- Returns:
- the current selection as a Transferable, or null if the copy failed. Will be added to the system clipboard.
 
- 
doCutDescription copied from class:AbstractNavTreeNodeCalled when the cut action is performed.- Overrides:
- doCutin class- AbstractNavTreeNode
- Returns:
- the current selection as a Transferable, or null if the cut failed. Will be added to the system clipboard.
 
- 
doPastepublic boolean doPaste(List<? extends AbstractNavTreeNode> selectedChildren, Transferable clipboardContents, boolean isDrop) Description copied from class:AbstractNavTreeNodeCalled when the paste action is performed- Overrides:
- doPastein class- AbstractNavTreeNode
- clipboardContents- The current contents of the clipboard to paste.
- isDrop- Indicates whether this paste originated from a drop action. If false, originated from a keyboard or menu paste shortcut.
- Returns:
- whether or not the paste successfully completed.
 
- 
getSortOrderpublic int getSortOrder()Description copied from class:AbstractNavTreeNodeReturns the relative sort order for peers. Not all nav tree node parents will use this sort order, but the root node does. Nodes with equal sort orders will then be sorted by their titles. The default return value here is 0. The config menu node returns Integer.MIN_VALUE.- Overrides:
- getSortOrderin class- AbstractNavTreeNode
- Returns:
- relative sort order for peers
 
- 
canPasteDescription copied from class:AbstractNavTreeNodeCan this action handler handle a paste given the data flavors currently available in the clipboard? data may be null.- Overrides:
- canPastein class- AbstractNavTreeNode
 
- 
canDragDescription copied from class:AbstractNavTreeNodeCan the nodes controlled by this action handling node be dragged?- Overrides:
- canDragin class- AbstractNavTreeNode
 
- 
canCopyDescription 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
 
- 
onSelectedpublic void onSelected()Description copied from class:AbstractNavTreeNodeCalled when this node is selected in the tree- Overrides:
- onSelectedin class- AbstractNavTreeNode
 
- 
getExpandedIconDescription copied from class:AbstractNavTreeNodeReturns an alternate icon for when this node is expanded, if applicable. Default implementation simply returns getIcon()- Overrides:
- getExpandedIconin class- FolderNode
 
- 
getPopupActionsDescription 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
 
- 
createChildNode- Specified by:
- createChildNodein class- FolderNode
 
- 
initPopupMenuprotected void initPopupMenu(JPopupMenu menu, TreePath[] paths, List<AbstractNavTreeNode> selection, int modifiers) Description copied from class:AbstractNavTreeNodeDefault implementation calls setupEditActions(), and then addEditActions()- Overrides:
- initPopupMenuin class- AbstractNavTreeNode
 
 
-