Dresden OCL Toolkit

tudresden.ocl.injection.reverseeng
Class ErrorTreeNode

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

public class ErrorTreeNode
extends RevengTreeNode

Node that displays an error message.

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_iIcon
          The icon used for the error node.
 
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
ErrorTreeNode(DefaultTreeModel dtmModel, String sMessage)
          Create a new error tree node with the specified message.
 
Method Summary
 void fill()
          Ignored.
 Icon getIcon(boolean fExpanded)
          Return the error icon.
 List getPropertyPages()
          Get the property panes to be shown in the right hand panel of the GUI.
 
Methods inherited from class tudresden.ocl.injection.reverseeng.RevengTreeNode
canRootExplorer, collapsed, createLogicalParent, getModel, getToolTip, 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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

s_iIcon

static Icon s_iIcon
The icon used for the error node.

Constructor Detail

ErrorTreeNode

public ErrorTreeNode(DefaultTreeModel dtmModel,
                     String sMessage)
Create a new error tree node with the specified message.

Parameters:
dtmModel - the TreeModel which this node is part of.
sMessage - the message to be displayed.
Method Detail

getIcon

public Icon getIcon(boolean fExpanded)
Return the error icon.

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

fill

public void fill()
Ignored.

Specified by:
fill in class RevengTreeNode

getPropertyPages

public List getPropertyPages()
Description copied from class: RevengTreeNode
Get the property panes to be shown in the right hand panel of the GUI.

Overrides:
getPropertyPages 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.