Class NamedQueryNode
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
- 
- com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode
- 
- com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode
- 
- com.inductiveautomation.ignition.designer.db.namedquery.workspace.nav.NamedQueryNode
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<AbstractNavTreeNode>,- javax.swing.tree.TreeNode
 
 public class NamedQueryNode extends ResourceNode Project resource node specific to Named Queries. Sets the resource node's tooltip to the Named Query's description, and returns a distinct icon when the Named Query is disabled.
- 
- 
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.tabbedworkspace.ResourceNodeworkspace
 - 
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 NamedQueryNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.IcongetIcon()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()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 voidonEditorUnselected()- 
Methods inherited from class com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNodecloseAndCommit, commitIfOpen, getProjectResource, install, onSelected, open, setIcon, uninstall
 - 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNodeaddBadges, addConcurrentUsersBadges, addDocumentationMenuItem, addEditActions, addExportMenuItem, addNotesBadge, addOverrideEnabledMenuItem, addProtectMenuItem, addRevertMenuItem, alterName, canCopy, canDelete, editDocumentation, gatherChildrenIds, getInvalidNameErrorMessage, getPopupActions, getResourceId, getResourcePath, 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, getWorkspaceName, isBold, isEditActionHandler, isItalic, isLeaf, isSelected, isTopLevelNode, isValidName, iterator, loadChildren, newLogger, notifyChildNameChanged, onChildrenSelected, pathToRoot, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setItalic, setName, setText, setThumbnail, setTooltip, showPopupMenu, toString, uninstallChildren, useThumbnailTooltip, visitIfLoaded
 
- 
 
- 
- 
- 
Constructor Detail- 
NamedQueryNodepublic NamedQueryNode(DesignerContext context, TabbedResourceWorkspace workspace, ProjectResource resource) 
 
- 
 - 
Method Detail- 
getIconpublic javax.swing.Icon getIcon() - Overrides:
- getIconin class- AbstractResourceNavTreeNode
 
 - 
onEditorSelectedprotected void onEditorSelected(ResourceEditor editor) Description copied from class:ResourceNodeCalled whenever the ResourceEditor for this resource has been opened or selected in the tabbed workspace.- Overrides:
- onEditorSelectedin class- ResourceNode
 
 - 
onEditorUnselectedprotected void onEditorUnselected() - Overrides:
- onEditorUnselectedin class- ResourceNode
 
 - 
onEditorOpenedprotected void onEditorOpened(ResourceEditor editor) - Overrides:
- onEditorOpenedin class- ResourceNode
 
 - 
onEditorClosedprotected void onEditorClosed(ResourceEditor editor) - Overrides:
- onEditorClosedin class- ResourceNode
 
 - 
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- AbstractNavTreeNode
 
 - 
isOpenpublic boolean isOpen() Description copied from class:AbstractResourceNavTreeNodeOverride this to indicate whether or not this resource is open for editing- Overrides:
- isOpenin class- ResourceNode
 
 
- 
 
-