|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.ui.PerspectiveSupport
Helper class for tree models that provides help building perspectives out of gorules.
$Id: PerspectiveSupport.java,v 1.3 2003/06/29 23:47:02 linus Exp $
Field Summary | |
protected java.util.Vector |
_goRules
The go rules that this Tree model uses to build child nodes. |
protected java.lang.String |
_name
name |
protected static java.util.Vector |
_rules
list of all possible rules in the collection Todolist specific |
Constructor Summary | |
protected |
PerspectiveSupport()
|
|
PerspectiveSupport(java.lang.String name)
Creates a new instance of PerspectiveSupport |
|
PerspectiveSupport(java.lang.String name,
java.util.Vector subs)
needs documenting |
Method Summary | |
void |
addSubTreeModel(javax.swing.tree.TreeModel tm)
adds a rule to the perspective that will generate child nodes for any given parent node. |
java.lang.String |
getName()
needs documenting |
static java.util.Vector |
getRegisteredRules()
TODO: factor out |
java.util.Vector |
getSubTreeModels()
get the rules that together form the perspective |
static void |
registerRule(javax.swing.tree.TreeModel rule)
TODO: factor out |
void |
removeSubTreeModel(javax.swing.tree.TreeModel tm)
remove a rule from the perspective that will generate child nodes for any given parent node. |
void |
setName(java.lang.String s)
needs documenting |
java.lang.String |
toString()
needs documenting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Vector _goRules
protected java.lang.String _name
protected static java.util.Vector _rules
Constructor Detail |
protected PerspectiveSupport()
public PerspectiveSupport(java.lang.String name)
public PerspectiveSupport(java.lang.String name, java.util.Vector subs)
Method Detail |
public void addSubTreeModel(javax.swing.tree.TreeModel tm)
public void removeSubTreeModel(javax.swing.tree.TreeModel tm)
public java.util.Vector getSubTreeModels()
public java.lang.String getName()
public void setName(java.lang.String s)
public java.lang.String toString()
public static void registerRule(javax.swing.tree.TreeModel rule)
public static java.util.Vector getRegisteredRules()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040125) | ArgoUML Project Home | ArgoUML Cookbook |