|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode nl.cwi.sen1.error.model.SelectableNode nl.cwi.sen1.error.model.ErrorNode
public class ErrorNode
Field Summary | |
---|---|
private errorapi.types.Error |
error
|
private java.lang.String |
id
|
private errorapi.types.Location |
location
|
private java.lang.String |
producer
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
ErrorNode(errorapi.types.Error error,
java.lang.String producer,
java.lang.String id)
|
Method Summary | |
---|---|
java.lang.String |
getId()
|
errorapi.types.Location |
getLocation()
|
java.lang.String |
getProducer()
|
boolean |
isError()
|
boolean |
isFatal()
|
boolean |
isInfo()
|
boolean |
isWarning()
|
void |
selected(nl.cwi.sen1.gui.Studio studio,
ErrorViewerBridge bridge)
|
void |
setLocation(errorapi.types.Location location)
|
java.lang.String |
toString()
|
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 |
---|
private java.lang.String producer
private java.lang.String id
private errorapi.types.Error error
private errorapi.types.Location location
Constructor Detail |
---|
public ErrorNode(errorapi.types.Error error, java.lang.String producer, java.lang.String id)
Method Detail |
---|
public java.lang.String getProducer()
public errorapi.types.Location getLocation()
public java.lang.String getId()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public void setLocation(errorapi.types.Location location)
public void selected(nl.cwi.sen1.gui.Studio studio, ErrorViewerBridge bridge)
selected
in class SelectableNode
public boolean isError()
public boolean isWarning()
public boolean isFatal()
public boolean isInfo()
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |