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:
- java.lang.Iterable<AbstractNavTreeNode>,- javax.swing.tree.TreeNode
 
 public class ModuleNode extends AbstractResourceNavTreeNode 
- 
- 
Nested Class Summary- 
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.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 Modifier Constructor Description protectedModuleNode(DesignerContext context, ScriptWorkspace workspace, ProjectResourceId resourceId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddEditActions(javax.swing.JPopupMenu menu)voidcommitIfOpen()Implement this to commit the resource that is open for editing.protected java.lang.StringgetInvalidNameErrorMessage(java.lang.String attemptedName)java.lang.StringgetWorkspaceName()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(java.lang.String aName)voidonSelected()Called when this node is selected in the treeprotected voidopen()Implement this to open this resource up for editingprotected voiduninstall()Called when the node is removed from the tree.- 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodeaddBadges, addConcurrentUsersBadges, addDocumentationMenuItem, addExportMenuItem, addNotesBadge, addOverrideEnabledMenuItem, addProtectMenuItem, addRevertMenuItem, alterName, canCopy, canDelete, editDocumentation, gatherChildrenIds, getIcon, getPopupActions, getProjectResource, getResourceId, getResourcePath, install, isChanged, isEditable, isInherited, isLocal, isOverridden, isOverrideEnabled, isProtectedEnabled, isRestricted, isValid, onDoubleClick, onEdit, onResourceModified, revert, selectChild, setOverrideEnabled, setProtected, setRevertedResourcePath, setupEditActions
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodecanDrag, 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, getIndex, getModel, getName, getParent, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, initPopupMenu, isBold, isEditActionHandler, isItalic, isLeaf, isSelected, isTopLevelNode, iterator, loadChildren, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, showPopupMenu, toString, uninstallChildren, useThumbnailTooltip, visitIfLoaded
 
- 
 
- 
- 
- 
Constructor Detail- 
ModuleNodeprotected ModuleNode(DesignerContext context, ScriptWorkspace workspace, ProjectResourceId resourceId) 
 
- 
 - 
Method Detail- 
addEditActionsprotected void addEditActions(javax.swing.JPopupMenu menu) - Overrides:
- addEditActionsin class- AbstractResourceNavTreeNode
 
 - 
getWorkspaceNamepublic java.lang.String getWorkspaceName() Description 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
 
 - 
isValidNameprotected boolean isValidName(@Nonnull java.lang.String aName)- Overrides:
- isValidNamein class- AbstractNavTreeNode
 
 - 
getInvalidNameErrorMessageprotected java.lang.String getInvalidNameErrorMessage(java.lang.String attemptedName) - Overrides:
- getInvalidNameErrorMessagein class- AbstractResourceNavTreeNode
 
 
- 
 
-