|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.ui.explorer.rules.OperationsNode
This class is a support class for The Navigation panel Go Rules. Don't confuse it with anything to do with GEF nodes or the like. $Revision: 1.6 $
| Field Summary | |
private Object |
parent
|
| Constructor Summary | |
OperationsNode(Object p)
Creates a new instance of OperationsNode |
|
| Method Summary | |
Object |
getParent()
|
boolean |
subsumes(Object obj)
This method is called by ExplorerTreeModel to check if this WeakExplorerNode subsumes another WeakExplorerNode, ie if this node should be preserved rather than adding the other node. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private Object parent
| Constructor Detail |
public OperationsNode(Object p)
p - the parent| Method Detail |
public Object getParent()
public String toString()
Object.toString()public boolean subsumes(Object obj)
WeakExplorerNodeThis relation should be reflexive, so that if a
is a WeakExplorerNode then a.subsumes(a) == true.
This relation should be symmetric, so that if a and b are
WeakExplorerNodes and a.subsumes(b) == true then
b.subsumes(a) == true.
This relation should be transitive, so that if a, b and c are
WeakExplorerNodes, a.subsumes(b) == true and
b.subsumes(c) == true then
a.subsumes(c) == true.
Note: While this means that only other WeakExplorerNodes can be subsumed, the argument is still of Object type. This is just since there is no particular point in getting a WeakExplorerNode reference, you would either have to down-cast it further or wouldn't use it more than as an Object pointer.
subsumes in interface WeakExplorerNodeobj - another WeakExplorerNode
WeakExplorerNode.subsumes(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |