Class UdtDefBrowseNode
java.lang.Object
com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
com.inductiveautomation.ignition.designer.tags.editing.dialog.UdtDefBrowseNode
- All Implemented Interfaces:
BrowseTreeNode
,InfoNode
,AsynchronousTreeNode
,TreeNode
Used when we need to dynamically build out a BrowseNodeInfo tree based on the current StructureNodes in the tag
editor. This is needed because users can add, remove or rename nodes at will before saving the tag structure.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
AbstractBrowseNode.BrowseTreeComparator, AbstractBrowseNode.InfoComparator, AbstractBrowseNode.Loader, AbstractBrowseNode.LoadingStatus, AbstractBrowseNode.NodeWrapper
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
childStatus, errorNode, executor, folderTypes, info, loadingNode, loadRunner, log, nodeList, nodeMap, parentIndex, TAG_COMP, treeModel, visible
Fields inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.BrowseTreeNode
NO_TYPES
-
Constructor Summary
ConstructorsConstructorDescriptionUdtDefBrowseNode
(NodeBrowseInfo root, ClientContext context, BrowseTreeNode parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createChildNode
(TagStructurePanel.StructureNode child, TagPath childPath) Recursively converts a StructureNode and its children into a BrowseInfoNode with children, and saves the results in this node.protected List<BrowseTreeNode>
Returns the type of objects that can be added at this level.getName()
Returns the name, as it would be represented in a TagPath, of this nodeNarrowing return for getParentReturns the tooltip text for the tree nodeMethods inherited from class com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
blockLoad, children, createLoader, createNodeMap, equals, findChildNodeByName, fireLightweightChange, fireNodeChanged, getAllowsChildren, getChildAt, getChildCount, getClientContext, getIndex, getInfo, getManager, getRank, getTagPath, hasChild, hashCode, install, isLeaf, isMetaNode, isVisible, loadCancelled, loadChildrenAsync, loadChildrenWithStatus, loadDone, loadError, logLoaded, maybeBrowseAsync, notifyVisibilityChange, reload, reloadSynchronous, setInfo, setVisible, toString, uninstall
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.InfoNode
getTagType
-
Constructor Details
-
UdtDefBrowseNode
-
-
Method Details
-
executeChildrenBrowse
- Specified by:
executeChildrenBrowse
in classAbstractBrowseNode
- Throws:
Exception
-
getName
Description copied from interface:BrowseTreeNode
Returns the name, as it would be represented in a TagPath, of this node -
getAllowedNewObjectTypes
Description copied from interface:BrowseTreeNode
Returns the type of objects that can be added at this level. -
getEditRights
-
getParent
Description copied from interface:BrowseTreeNode
Narrowing return for getParent -
getTooltipText
Description copied from interface:BrowseTreeNode
Returns the tooltip text for the tree node -
createChildNode
Recursively converts a StructureNode and its children into a BrowseInfoNode with children, and saves the results in this node.- Parameters:
child
- the StructureNode to convertchildPath
- Normally this is the internal path of the StructureNode. But if a parent node has been renamed and not yet saved, then this path is the actual up-to-date path.
-