Class ResourceNode
java.lang.Object
com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode
- All Implemented Interfaces:
- Iterable<AbstractNavTreeNode>,- TreeNode
- Direct Known Subclasses:
- NamedQueryNode,- ReportNode,- StylesheetNode,- ViewNode
- 
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 SummaryFieldsFields 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 SummaryConstructorsConstructorDescriptionResourceNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidImplement this to commit the resource that is open for editing.protected Iconprotected IconThe ProjectResource that this node representsvoidinstall(AbstractNavTreeNode parent) protected booleanisOpen()Override this to indicate whether or not this resource is open for editingprotected voidonEditorClosed(ResourceEditor editor) protected voidonEditorOpened(ResourceEditor editor) protected voidonEditorSelected(ResourceEditor editor) Called whenever the ResourceEditor for this resource has been opened or selected in the tabbed workspace.protected voidvoidCalled 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, addBadges, addConcurrentUsersBadges, addDeleteOrDiscardOverridesMenuItem, addDocumentationMenuItem, addEditActions, addExportMenuItem, addInheritedBadge, addNotesBadge, addOverriddenBadge, addOverrideEnabledMenuItem, addOverrideOrDiscardOverridesMenuItem, addProtectMenuItem, addRevertMenuItem, alterName, canCopy, canDelete, editDocumentation, gatherChildrenIds, getAdditionalExportIds, getDeleteAction, getInheritanceString, getInvalidNameErrorMessage, getPopupActions, getResourceId, getResourcePath, inherited, 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, getWorkspaceName, initPopupMenu, isBold, isItalic, isLeaf, isModuleNode, isSelected, isTopLevelNode, isValidName, 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
- 
Field Details- 
workspace
 
- 
- 
Constructor Details- 
ResourceNodepublic ResourceNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource) 
 
- 
- 
Method Details- 
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
 
- 
getOpenIcon- Returns:
- The node icon to use when the resource is open for editing
 
- 
getClosedIcon- Returns:
- The node icon to use when the resource is not being edited
 
- 
onEditorSelectedCalled whenever the ResourceEditor for this resource has been opened or selected in the tabbed workspace.
- 
onEditorUnselectedprotected void onEditorUnselected()
- 
onEditorOpened
- 
onEditorClosed
- 
getProjectResourceDescription copied from class:AbstractResourceNavTreeNodeThe ProjectResource that this node represents- Overrides:
- getProjectResourcein class- AbstractResourceNavTreeNode
 
- 
onSelectedpublic void onSelected()Description copied from class:AbstractNavTreeNodeCalled when this node is selected in the tree- Overrides:
- onSelectedin 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
 
- 
closeAndCommitpublic void closeAndCommit()
- 
commitIfOpenpublic void commitIfOpen()Description copied from class:AbstractResourceNavTreeNodeImplement this to commit the resource that is open for editing.- Overrides:
- commitIfOpenin class- AbstractResourceNavTreeNode
 
 
-