public class SubsetWorkflowOutlineTreeModel extends WorkflowOutlineTreeModel
EntityTreeModel.TreeUpdateListenerincludeAttributes, includePorts, includeRelations_root| Constructor and Description |
|---|
SubsetWorkflowOutlineTreeModel(CompositeEntity root)
Create a new SubsetWorkflowOutlineTreeModel with the specified root.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToSubset(NamedObj namedObj)
Add an object to the subset tree.
|
java.lang.Object |
getChild(java.lang.Object parent,
int index)
Get the child of the given parent at the given index.
|
int |
getChildCount(java.lang.Object parent)
Returns the number of children of the given parent.
|
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
Return the index of the given child within the given parent.
|
boolean |
isLeaf(java.lang.Object object)
Returns true if the object is a leaf node.
|
void |
showAll()
Show everything in the tree.
|
void |
showSubset()
Show only the nodes containing objects that were called with addToSubset().
|
_visibleAttributes_classesaddTreeModelListener, getRoot, removeTreeModelListener, setRoot, valueForPathChangedpublic SubsetWorkflowOutlineTreeModel(CompositeEntity root)
public void addToSubset(NamedObj namedObj)
public java.lang.Object getChild(java.lang.Object parent, int index)
getChild in interface javax.swing.tree.TreeModelgetChild in class WorkflowOutlineTreeModelparent - A node in the tree.index - The index of the desired child.public int getChildCount(java.lang.Object parent)
getChildCount in interface javax.swing.tree.TreeModelgetChildCount in class WorkflowOutlineTreeModelparent - A parent node.public int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
getIndexOfChild in interface javax.swing.tree.TreeModelgetIndexOfChild in class WorkflowOutlineTreeModelparent - The parent.child - The child.public boolean isLeaf(java.lang.Object object)
isLeaf in interface javax.swing.tree.TreeModelisLeaf in class WorkflowOutlineTreeModelobject - The object.public void showAll()
public void showSubset()