org.argouml.ui.explorer
Class ExplorerPerspective
java.lang.Object
|
+--org.argouml.ui.explorer.ExplorerPerspective
- public class ExplorerPerspective
- extends java.lang.Object
Represents a perspective (or view) of the uml model for display in the
explorer.
This class replaces the old NavPerspective class. This is much simpler.
The rules in the perspective generate child nodes for any given parent
node in the explorer tree view. Those nodes are then stored as user objects
in the ExplorerTreeModel for efficient rendering.
- Since:
- 0.15.2, Created on 27 September 2003, 09:32
Field Summary |
(package private) java.lang.String |
name
|
(package private) java.util.List |
rules
|
Constructor Summary |
ExplorerPerspective(java.lang.String newName)
Creates a new instance of ExplorerPerspective |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rules
java.util.List rules
name
java.lang.String name
ExplorerPerspective
public ExplorerPerspective(java.lang.String newName)
- Creates a new instance of ExplorerPerspective
addRule
public void addRule(PerspectiveRule rule)
removeRule
public void removeRule(PerspectiveRule rule)
getRulesArray
public java.lang.Object[] getRulesArray()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object