public class TagProviderNode extends AbstractTagPathTreeNode implements TagChangeListener
Modifier and Type | Class and Description |
---|---|
protected class |
TagProviderNode.TypesFolder |
AbstractTagPathTreeNode.Loader, AbstractTagPathTreeNode.LoadingStatus, AbstractTagPathTreeNode.NodeWrapper, AbstractTagPathTreeNode.TagTreeNodeComparator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAGS_FOLDER_KEY |
static java.lang.String |
TYPES_FOLDER_KEY |
static javax.swing.Icon |
udtFolderClosedIcon |
static javax.swing.Icon |
udtFolderIcon |
errorNode, executor, loadingNode, loadRunner, log, nodeList, nodeMap, parentIndex, status, TAG_COMP, treeModel, visible
Constructor and Description |
---|
TagProviderNode(TagProviderMeta meta,
TagPathTreeNode parent) |
Modifier and Type | Method and Description |
---|---|
protected TagTreeNode |
createTagTreeNode(Tag tag,
TagPathTreeNode parent) |
java.lang.String |
getName()
Returns the name, as it would be represented in a TagPath, of this node
|
TagPathTreeNode |
getParent()
Narrowing return for getParent
|
TagPath |
getTagPath()
Returns the tag path for this tree node
|
TagProp |
getTagProperty()
The TagProp that this listener cares about.
|
TagProviderMeta |
getTagProviderMeta() |
java.lang.String |
getTooltipText()
Returns the tooltip text for the tree node
|
protected boolean |
hasComplexTypes() |
void |
install(SQLTagTreeModel model,
int index)
Called then the node is created.
|
boolean |
isProviderMutable()
Does the underlying provider allow new tags?
|
java.util.List<TagPathTreeNode> |
loadChildren() |
protected java.util.List<TagPathTreeNode> |
loadTagChildren(TagPath rootPath,
TagPathTreeNode parent) |
void |
tagChanged(TagChangeEvent e)
Called from certain tag provider root whose root contents can change
|
java.lang.String |
toString() |
void |
uninstall()
Called when the node is destroyed.
|
blockLoad, checkChildren, checkChildren, children, createLoader, createNodeMap, equals, findChildNodeByName, fireLightweightChange, fireNodeChanged, getAllowsChildren, getChildAt, getChildCount, getIndex, getManager, hasChild, hashCode, isLeaf, isMetaNode, isVisible, loadDone, loadError, logLoaded, notifyVisibilityChange, reload, reloadSynchronous, setVisible
public static javax.swing.Icon udtFolderIcon
public static javax.swing.Icon udtFolderClosedIcon
public static final java.lang.String TAGS_FOLDER_KEY
public static final java.lang.String TYPES_FOLDER_KEY
public TagProviderNode(TagProviderMeta meta, TagPathTreeNode parent)
public java.lang.String getName()
TagPathTreeNode
getName
in interface TagPathTreeNode
protected boolean hasComplexTypes()
public java.util.List<TagPathTreeNode> loadChildren()
loadChildren
in class AbstractTagPathTreeNode
protected java.util.List<TagPathTreeNode> loadTagChildren(TagPath rootPath, TagPathTreeNode parent)
protected TagTreeNode createTagTreeNode(Tag tag, TagPathTreeNode parent)
public TagProviderMeta getTagProviderMeta()
public boolean isProviderMutable()
public TagPathTreeNode getParent()
TagPathTreeNode
getParent
in interface TagPathTreeNode
getParent
in interface javax.swing.tree.TreeNode
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTooltipText()
TagPathTreeNode
getTooltipText
in interface TagPathTreeNode
public TagPath getTagPath()
TagPathTreeNode
getTagPath
in interface TagPathHolder
getTagPath
in interface TagPathTreeNode
public TagProp getTagProperty()
TagChangeListener
getTagProperty
in interface TagChangeListener
public void tagChanged(TagChangeEvent e)
tagChanged
in interface TagChangeListener
e
- a ChangeEvent objectpublic void install(SQLTagTreeModel model, int index)
TagPathTreeNode
install
in interface TagPathTreeNode
install
in class AbstractTagPathTreeNode
index
- The index at which this node occurs in its parentpublic void uninstall()
TagPathTreeNode
uninstall
in interface TagPathTreeNode
uninstall
in class AbstractTagPathTreeNode