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

public class UdtDefBrowseNode extends AbstractBrowseNode
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.
  • Constructor Details

  • Method Details

    • executeChildrenBrowse

      protected List<BrowseTreeNode> executeChildrenBrowse() throws Exception
      Specified by:
      executeChildrenBrowse in class AbstractBrowseNode
      Throws:
      Exception
    • getName

      public String getName()
      Description copied from interface: BrowseTreeNode
      Returns the name, as it would be represented in a TagPath, of this node
    • getAllowedNewObjectTypes

      @Nullable public Set<TagTypeDescriptor> getAllowedNewObjectTypes()
      Description copied from interface: BrowseTreeNode
      Returns the type of objects that can be added at this level.
    • getEditRights

      public EditRights getEditRights()
    • getParent

      public BrowseTreeNode getParent()
      Description copied from interface: BrowseTreeNode
      Narrowing return for getParent
    • getTooltipText

      public String getTooltipText()
      Description copied from interface: BrowseTreeNode
      Returns the tooltip text for the tree node
    • createChildNode

      public void 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.
      Parameters:
      child - the StructureNode to convert
      childPath - 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.