Dresden OCL Toolkit

tudresden.ocl.injection.reverseeng
Class CollectionTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bytudresden.ocl.injection.reverseeng.RevengTreeNode
          extended bytudresden.ocl.injection.reverseeng.AbstractFeatureTreeNode
              extended bytudresden.ocl.injection.reverseeng.CollectionTreeNode
All Implemented Interfaces:
AbstractDescriptor.AbstractDescriptorListener, Cloneable, EventListener, MutableTreeNode, Serializable, TreeNode

public class CollectionTreeNode
extends AbstractFeatureTreeNode

Version:
0.1
Author:
sz9 (Steffen Zschaler)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
(package private) static Icon s_iInCompl
           
(package private) static Icon s_iOK
           
 
Fields inherited from class tudresden.ocl.injection.reverseeng.RevengTreeNode
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
CollectionTreeNode(DefaultTreeModel dtmModel, CollectionDescriptor cd)
           
 
Method Summary
 CollectionDescriptor getDescriptor()
           
 Icon getIcon(boolean fExpanded)
          Return the icon associated with the tree node.
 List getPropertyPages()
          Return property pages common to both maps and collections...
 String getToolTip()
          Return the tool tip to be associated with this node.
 String toString()
           
 
Methods inherited from class tudresden.ocl.injection.reverseeng.AbstractFeatureTreeNode
fill
 
Methods inherited from class tudresden.ocl.injection.reverseeng.RevengTreeNode
canRootExplorer, collapsed, createLogicalParent, getModel, isDirty, nodeChanged, nodeStructureChanged, onDescriptorModified, save, setModified, startDirtyChangeNotification, stopDirtyChangeNotification
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

s_iOK

static Icon s_iOK

s_iInCompl

static Icon s_iInCompl
Constructor Detail

CollectionTreeNode

public CollectionTreeNode(DefaultTreeModel dtmModel,
                          CollectionDescriptor cd)
Method Detail

getIcon

public Icon getIcon(boolean fExpanded)
Description copied from class: RevengTreeNode
Return the icon associated with the tree node.

Specified by:
getIcon in class RevengTreeNode
Parameters:
fExpanded - if true, the node is currently expanded.

getDescriptor

public CollectionDescriptor getDescriptor()

getPropertyPages

public List getPropertyPages()
Description copied from class: AbstractFeatureTreeNode
Return property pages common to both maps and collections...

Overrides:
getPropertyPages in class AbstractFeatureTreeNode

toString

public String toString()

getToolTip

public String getToolTip()
Description copied from class: RevengTreeNode
Return the tool tip to be associated with this node. Defaults to toString().

Overrides:
getToolTip in class RevengTreeNode

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.