tudresden.ocl.injection.reverseeng
Class ErrorTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
tudresden.ocl.injection.reverseeng.RevengTreeNode
tudresden.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
Field Summary |
(package private) static Icon |
s_iIcon
The icon used for the error node. |
Fields inherited from class tudresden.ocl.injection.reverseeng.RevengTreeNode |
|
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 |
s_iIcon
static Icon s_iIcon
- The icon used for the error node.
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.
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
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.