|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.ui.explorer.PerspectiveManager
Provides a model and event management for perspectives(views) of the Explorer.
Field Summary | |
private static org.apache.log4j.Logger |
cat
|
private static PerspectiveManager |
instance
|
private java.util.List |
perspectiveListeners
|
private java.util.List |
perspectives
|
private java.util.List |
rules
|
java.lang.String |
RULES_PACKAGE
|
Constructor Summary | |
private |
PerspectiveManager()
Creates a new instance of PerspectiveManager |
Method Summary | |
void |
addAllPerspectives(java.util.Collection newPerspectives)
|
void |
addListener(PerspectiveManagerListener listener)
|
void |
addPerspective(java.lang.Object perspective)
|
static PerspectiveManager |
getInstance()
|
java.util.List |
getPerspectives()
|
java.util.Collection |
getRules()
|
void |
loadDefaultPerspectives()
tries to load user defined perspectives, if it can't it calls oldLoadDefaultPerspectives() to load the default perspectives. |
void |
loadRules()
hard coded rules library for now, it is quite a lot of work to get all possible rule names in "org.argouml.ui.explorer.rules" from the classpath. |
void |
oldLoadDefaultPerspectives()
loads a default set of perspectives. |
void |
removeAllPerspectives()
|
void |
removeListener(PerspectiveManagerListener listener)
|
void |
removePerspective(java.lang.Object perspective)
|
void |
saveUserPerspectives()
|
java.lang.String |
toString()
string representation of the perspectives in the same format as saved in the user properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static org.apache.log4j.Logger cat
private static PerspectiveManager instance
private java.util.List perspectiveListeners
private java.util.List perspectives
private java.util.List rules
public final java.lang.String RULES_PACKAGE
Constructor Detail |
private PerspectiveManager()
Method Detail |
public static PerspectiveManager getInstance()
public void addListener(PerspectiveManagerListener listener)
public void removeListener(PerspectiveManagerListener listener)
public void addPerspective(java.lang.Object perspective)
public void addAllPerspectives(java.util.Collection newPerspectives)
public void removePerspective(java.lang.Object perspective)
public void removeAllPerspectives()
public java.util.List getPerspectives()
public void loadDefaultPerspectives()
public void oldLoadDefaultPerspectives()
public void loadRules()
public java.util.Collection getRules()
public void saveUserPerspectives()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040316) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |