|
|||||||||||
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.
Field Summary | |
private Vector |
goRules
The go rules that this Tree model uses to build child nodes. |
private String |
name
name |
private static Vector |
rules
list of all possible rules in the collection Todolist specific |
Constructor Summary | |
private |
PerspectiveSupport()
|
|
PerspectiveSupport(String n)
Creates a new instance of PerspectiveSupport |
|
PerspectiveSupport(String n,
Vector subs)
The constructor. |
Method Summary | |
void |
addSubTreeModel(TreeModel tm)
Adds a rule to the perspective that will generate child nodes for any given parent node. |
protected Vector |
getGoRules()
|
String |
getName()
|
Vector |
getSubTreeModels()
Get the rules that together form the perspective. |
static void |
registerRule(TreeModel rule)
TODO: factor out |
void |
removeSubTreeModel(TreeModel tm)
Remove a rule from the perspective that will generate child nodes for any given parent node. |
void |
setName(String s)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Vector goRules
private String name
private static Vector rules
Constructor Detail |
private PerspectiveSupport()
public PerspectiveSupport(String n)
n
- the name to be localizedpublic PerspectiveSupport(String n, Vector subs)
TODO: Is this constructor used? What is the purpose with it?
n
- the name to be localizedsubs
- the go rulesMethod Detail |
public void addSubTreeModel(TreeModel tm)
tm
- the tree model to be addedpublic void removeSubTreeModel(TreeModel tm)
tm
- the treemodel to be removedpublic Vector getSubTreeModels()
public String getName()
public void setName(String s)
s
- the namepublic String toString()
Object.toString()
public static void registerRule(TreeModel rule)
rule
- the rule to be addedprotected Vector getGoRules()
|
|||||||||||
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 |