Class ModuleNode
java.lang.Object
com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
com.inductiveautomation.ignition.designer.scripteditor.workspace.ModuleNode
- All Implemented Interfaces:
- Iterable<AbstractNavTreeNode>,- TreeNode
- 
Nested Class SummaryNested 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.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 SummaryConstructorsModifierConstructorDescriptionprotectedModuleNode(DesignerContext context, ScriptWorkspace workspace, ProjectResourceId resourceId) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddBadges(BadgeTreeCellRenderer renderer, boolean selected) Add 'badges' to indicate meta information about this nodeprotected voidaddEditActions(JPopupMenu menu) voidImplement this to commit the resource that is open for editing.protected StringgetInvalidNameErrorMessage(String attemptedName) Returns the name of the desired workspace for this node.protected booleanisOpen()Override this to indicate whether or not this resource is open for editingprotected booleanisValidName(String aName) voidCalled when this node is selected in the treeprotected voidopen()Implement this to open this resource up for editingprotected voidCalled when the node is removed from the tree.Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodeaddActionsForInheritedNodes, addConcurrentUsersBadges, addDeleteOrDiscardOverridesMenuItem, addDocumentationMenuItem, addExportMenuItem, addInheritedBadge, addNotesBadge, addOverriddenBadge, addOverrideEnabledMenuItem, addOverrideOrDiscardOverridesMenuItem, addProtectMenuItem, addRevertMenuItem, alterName, canCopy, canDelete, editDocumentation, gatherChildrenIds, getAdditionalExportIds, getDeleteAction, getInheritanceString, getPopupActions, getProjectResource, getResourceId, getResourcePath, inherited, install, isChanged, isEditable, isEditActionHandler, isInherited, isLocal, isOverridden, isOverrideEnabled, isProtectedEnabled, isRestricted, isValid, modifyOverrideAction, notInherited, onDoubleClick, onEdit, onResourceModified, overridden, override, revert, selectChild, setOverrideEnabled, setProtected, setRevertedResourcePath, setupEditActionsMethods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodeaddEditActions, 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, getDepth, getExpandedIcon, getIcon, getIndex, getModel, getName, getParent, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, initPopupMenu, isBold, isItalic, isLeaf, isModuleNode, isSelected, isTopLevelNode, iterator, loadChildren, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, performOnAllChildren, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, 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- 
ModuleNodeprotected ModuleNode(DesignerContext context, ScriptWorkspace workspace, ProjectResourceId resourceId) 
 
- 
- 
Method Details- 
addEditActions- Overrides:
- addEditActionsin class- AbstractResourceNavTreeNode
 
- 
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
 
- 
openprotected void open()Description copied from class:AbstractResourceNavTreeNodeImplement this to open this resource up for editing- Overrides:
- openin class- AbstractResourceNavTreeNode
 
- 
isOpenprotected boolean isOpen()Description copied from class:AbstractResourceNavTreeNodeOverride this to indicate whether or not this resource is open for editing- Overrides:
- isOpenin class- AbstractResourceNavTreeNode
 
- 
commitIfOpenpublic void commitIfOpen()Description copied from class:AbstractResourceNavTreeNodeImplement this to commit the resource that is open for editing.- Overrides:
- commitIfOpenin class- AbstractResourceNavTreeNode
 
- 
onSelectedpublic void onSelected()Description copied from class:AbstractNavTreeNodeCalled when this node is selected in the tree- Overrides:
- onSelectedin class- AbstractNavTreeNode
 
- 
uninstallprotected void uninstall()Description copied from class:AbstractNavTreeNodeCalled when the node is removed from the tree. Override to provide meaningful implementation.- Overrides:
- uninstallin class- AbstractResourceNavTreeNode
 
- 
isValidName- Overrides:
- isValidNamein class- AbstractNavTreeNode
 
- 
getInvalidNameErrorMessage- Overrides:
- getInvalidNameErrorMessagein class- AbstractResourceNavTreeNode
 
 
-