Class TagProviderNode
- java.lang.Object
-
- com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
-
- com.inductiveautomation.ignition.client.tags.tree.node.TagTreeNode
-
- com.inductiveautomation.ignition.client.tags.tree.node.TagProviderNode
-
- All Implemented Interfaces:
BrowseTreeNode
,InfoNode
,ValueNode
,AsynchronousTreeNode
,TagChangeListener
,java.util.EventListener
,javax.swing.tree.TreeNode
- Direct Known Subclasses:
EditableProviderNode
,TagBrowseProviderNode
,TagProviderNode.EmptyRootNode
public class TagProviderNode extends TagTreeNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
TagProviderNode.EmptyRootNode
-
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 Modifier and Type Field Description static java.lang.String
TAGS_FOLDER_KEY
static java.lang.String
TYPES_FOLDER_KEY
static javax.swing.Icon
udtFolderClosedIcon
static javax.swing.Icon
udtFolderClosedIconSelected
static javax.swing.Icon
udtFolderIcon
static javax.swing.Icon
udtFolderIconSelected
-
Fields inherited from class com.inductiveautomation.ignition.client.tags.tree.node.TagTreeNode
browseValuePath, cachedAllowedTypes, currentvalue, folderTypes, parent, subscribed, VALID_PARENTS
-
Fields inherited from class com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
childStatus, errorNode, executor, 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
-
Fields inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.ValueNode
VALUE_RELEVANT_TYPES
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TagProviderNode(TagProviderProps props, BrowseTreeNode parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BrowseTreeNode
createChildNode(NodeBrowseInfo childInfo)
static TagProviderNode
emptyNode()
java.util.List<BrowseTreeNode>
executeChildrenBrowse()
protected java.util.Optional<BrowseTreeNode>
findTypesFolder(java.util.List<BrowseTreeNode> children)
java.util.Set<TagTypeDescriptor>
getAllowedNewObjectTypes()
Returns the type of objects that can be added at this level.EditRights
getEditRights()
java.lang.String
getName()
Returns the name, as it would be represented in a TagPath, of this nodeTagProviderProps
getTagProviderMeta()
TagObjectType
getTagType()
java.lang.String
getTooltipText()
Returns the tooltip text for the tree nodeboolean
isLeaf()
static boolean
isTypesFolderNode(BrowseTreeNode node)
java.lang.String
toString()
-
Methods inherited from class com.inductiveautomation.ignition.client.tags.tree.node.TagTreeNode
getParent, getProviderNode, getSubscriptionPath, getTagPath, getValue, install, notifyVisibilityChange, setCurrentValue, tagChanged, uninstall
-
Methods 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, hasChild, hashCode, isMetaNode, isVisible, loadCancelled, loadChildrenAsync, loadChildrenWithStatus, loadDone, loadError, logLoaded, maybeBrowseAsync, reload, reloadSynchronous, setVisible
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.tags.model.event.TagChangeListener
getSecurityContext, isLightweight
-
Methods inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.ValueNode
isValueRelevant
-
-
-
-
Field Detail
-
udtFolderIcon
public static javax.swing.Icon udtFolderIcon
-
udtFolderClosedIcon
public static javax.swing.Icon udtFolderClosedIcon
-
udtFolderIconSelected
public static javax.swing.Icon udtFolderIconSelected
-
udtFolderClosedIconSelected
public static javax.swing.Icon udtFolderClosedIconSelected
-
TAGS_FOLDER_KEY
public static final java.lang.String TAGS_FOLDER_KEY
- See Also:
- Constant Field Values
-
TYPES_FOLDER_KEY
public static final java.lang.String TYPES_FOLDER_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TagProviderNode
protected TagProviderNode(TagProviderProps props, BrowseTreeNode parent)
-
-
Method Detail
-
getEditRights
public EditRights getEditRights()
- Specified by:
getEditRights
in interfaceBrowseTreeNode
- Overrides:
getEditRights
in classTagTreeNode
-
emptyNode
public static TagProviderNode emptyNode()
-
getName
public java.lang.String getName()
Description copied from interface:BrowseTreeNode
Returns the name, as it would be represented in a TagPath, of this node- Specified by:
getName
in interfaceBrowseTreeNode
- Overrides:
getName
in classTagTreeNode
-
getAllowedNewObjectTypes
@Nullable public java.util.Set<TagTypeDescriptor> getAllowedNewObjectTypes()
Description copied from interface:BrowseTreeNode
Returns the type of objects that can be added at this level.- Specified by:
getAllowedNewObjectTypes
in interfaceBrowseTreeNode
- Overrides:
getAllowedNewObjectTypes
in classTagTreeNode
-
createChildNode
protected BrowseTreeNode createChildNode(NodeBrowseInfo childInfo)
- Overrides:
createChildNode
in classTagTreeNode
-
executeChildrenBrowse
public java.util.List<BrowseTreeNode> executeChildrenBrowse() throws java.lang.Exception
- Overrides:
executeChildrenBrowse
in classTagTreeNode
- Throws:
java.lang.Exception
-
findTypesFolder
protected java.util.Optional<BrowseTreeNode> findTypesFolder(java.util.List<BrowseTreeNode> children)
-
getTagProviderMeta
public TagProviderProps getTagProviderMeta()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractBrowseNode
-
getTooltipText
public java.lang.String getTooltipText()
Description copied from interface:BrowseTreeNode
Returns the tooltip text for the tree node- Specified by:
getTooltipText
in interfaceBrowseTreeNode
- Overrides:
getTooltipText
in classTagTreeNode
-
getTagType
public TagObjectType getTagType()
- Specified by:
getTagType
in interfaceInfoNode
- Overrides:
getTagType
in classTagTreeNode
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interfacejavax.swing.tree.TreeNode
- Overrides:
isLeaf
in classTagTreeNode
-
isTypesFolderNode
public static boolean isTypesFolderNode(BrowseTreeNode node)
-
-