public class ParameterInstanceNode extends ProjectionTreeNode<ParameterInstance>
ParameterInstance
.
Created: August 24, 2008Modifier and Type | Field and Description |
---|---|
static String |
NEW_ASSIGNMENT
Name for new assignment and title for the button to create one.
|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
ParameterInstanceNode(ParameterInstance instance)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static String |
getDisplayName(ParameterInstance instance)
Gets the display name.
|
JPanel |
selected(TreePath selectionPath,
IProjectionTree projTree)
Method that is called by
ProjectionTreeNode#selected(TreePath, JPanel, DefaultTreeModel, javax.swing.JTree)
originally. |
deselected, getChilds, getChildsByType, getChildsByType, getChildWithEntity, getContentPanel, getEntity, getEntityClass, getEntityLabel, getProjectionEntity, getProjectionEntity, getProjectionTreeNodeOnPath, refreshRecursively, refreshRepresentation, selected
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public static final String NEW_ASSIGNMENT
public ParameterInstanceNode(ParameterInstance instance)
instance
- the instance that is represented by this nodepublic JPanel selected(TreePath selectionPath, IProjectionTree projTree)
ProjectionTreeNode
ProjectionTreeNode#selected(TreePath, JPanel, DefaultTreeModel, javax.swing.JTree)
originally. Implementations of ProjectionTreeNode
might override
either of the 'selected' methods, this one is more convenient as it stores
the generated panel in an auxiliary variable and does not require to add
the panel manually, it just needs to be returned.selected
in class ProjectionTreeNode<ParameterInstance>
selectionPath
- the path containing all ancestorsprojTree
- the projection treepublic static String getDisplayName(ParameterInstance instance)
instance
- the instanceCopyright © 2013. All Rights Reserved.