|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.application.api.Argo
The Argo class provides static methods and definitions
that can be used as helpers throughout the Argo code.
This class is a variation of the Expert design pattern [Grand]. By incorporating a number of unrelated but commonly used methods in a single class, it attempts to decrease the complexity of the overall code while increasing its own complexity.
These include
gef
| Field Summary | |
static String |
ARGO_CONSOLE_PREFIX
Standard definition of system variable to add text prefix to console log. |
static String |
ARGO_CONSOLE_SUPPRESS
Standard definition of the logging category for the console. |
static String |
ARGOINI
argo.ini path. |
static String |
CONSOLE_LOG
Standard definition of the logging category for the console. |
static ConfigurationKey |
KEY_DEFAULT_MODEL
Key to store profile/default model. |
static ConfigurationKey |
KEY_EDEM
Key to report usage statistics. |
static ConfigurationKey |
KEY_INPUT_SOURCE_ENCODING
Key for input source file encoding used in RE. |
static ConfigurationKey |
KEY_LOCALE
Key for selecting the locale. |
static ConfigurationKey |
KEY_LOOK_AND_FEEL_CLASS
Key for look and feel class name. |
static ConfigurationKey |
KEY_MOST_RECENT_PROJECT_FILE
Key for last saved project URL. |
static ConfigurationKey |
KEY_NUMBER_LAST_RECENT_USED
Key for number of last recently used file entries in menu list. |
static ConfigurationKey |
KEY_PRELOAD
Key to preload classes. |
static ConfigurationKey |
KEY_RELOAD_RECENT_PROJECT
Key to reload last saved project on startup. |
static ConfigurationKey |
KEY_SCREEN_EAST_WIDTH
Key for east pane width. |
static ConfigurationKey |
KEY_SCREEN_HEIGHT
Key for screen height. |
static ConfigurationKey |
KEY_SCREEN_LEFT_X
Key for screen left. |
static ConfigurationKey |
KEY_SCREEN_NORTH_HEIGHT
Key for north pane height. |
static ConfigurationKey |
KEY_SCREEN_NORTHEAST_WIDTH
Key for northeast pane width. |
static ConfigurationKey |
KEY_SCREEN_NORTHWEST_WIDTH
Key for northwest pane width. |
static ConfigurationKey |
KEY_SCREEN_SOUTH_HEIGHT
Key for south pane height. |
static ConfigurationKey |
KEY_SCREEN_SOUTHEAST_WIDTH
Key for southeast pane width. |
static ConfigurationKey |
KEY_SCREEN_SOUTHWEST_WIDTH
Key for southwest pane width. |
static ConfigurationKey |
KEY_SCREEN_THEME
Key for theme. |
static ConfigurationKey |
KEY_SCREEN_TOP_Y
Key for screen top. |
static ConfigurationKey |
KEY_SCREEN_WEST_WIDTH
Key for west pane width. |
static ConfigurationKey |
KEY_SCREEN_WIDTH
Key for screen width. |
static ConfigurationKey |
KEY_SMOOTH_EDGES
Key to enable smooth edges of diagram text and lines (anti-aliasing). |
static ConfigurationKey |
KEY_SPLASH
Key to show splash screen. |
static ConfigurationKey |
KEY_STARTUP_DIR
Key for default startup directory. |
static ConfigurationKey |
KEY_THEME_CLASS
Key for theme class name. |
static ConfigurationKey |
KEY_USER_EMAIL
Key for user email address. |
static ConfigurationKey |
KEY_USER_EXPLORER_PERSPECTIVES
Key for user explorer perspectives. |
static ConfigurationKey |
KEY_USER_FULLNAME
Key for user full name. |
static ConfigurationKey |
KEY_USER_IMPORT_CLASSPATH
Key for user java reverse engineering classpath. |
static ConfigurationKey |
KEY_XMI_STRIP_DIAGRAMS
Key to store setting of stripping diagrams on XMI import. |
static String |
RESOURCEDIR
Key for argo resource directory. |
| Method Summary | |
static String |
getArgoHome()
Deprecated. by Linus Tolke for 0.21.3. I don't think there is a reason to let this call go through the Argo class. |
static String |
getArgoRoot()
Deprecated. by Linus Tolke for 0.21.3. I don't think there is a reason to let this call go through the Argo class. |
static String |
getDirectory()
Get the default startup directory. |
static ArrayList |
getPlugins(Class pluginType)
Deprecated. by Linus Tolke for 0.21.3. This is replaced by the new module loader. |
static ArrayList |
getPlugins(Class pluginType,
Object[] context)
Deprecated. by Linus Tolke for 0.21.3. This is replaced by the new module loader. |
static void |
initializeModules()
Deprecated. by Linus Tolke for 0.21.3. There is no reason to let this call go through the Argo class. |
static Icon |
lookupIconResource(String arg1)
Look up an icon resource. |
static Icon |
lookupIconResource(String arg1,
String arg2)
Look up an icon resource. |
static void |
setDirectory(String dir)
Change the default startup directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String RESOURCEDIR
public static final String ARGOINI
public static final ConfigurationKey KEY_STARTUP_DIR
public static final ConfigurationKey KEY_SPLASH
public static final ConfigurationKey KEY_PRELOAD
public static final ConfigurationKey KEY_EDEM
public static final ConfigurationKey KEY_MOST_RECENT_PROJECT_FILE
public static final ConfigurationKey KEY_RELOAD_RECENT_PROJECT
public static final ConfigurationKey KEY_NUMBER_LAST_RECENT_USED
public static final ConfigurationKey KEY_SCREEN_TOP_Y
public static final ConfigurationKey KEY_SCREEN_LEFT_X
public static final ConfigurationKey KEY_SCREEN_WIDTH
public static final ConfigurationKey KEY_SCREEN_HEIGHT
public static final ConfigurationKey KEY_SCREEN_SOUTHWEST_WIDTH
public static final ConfigurationKey KEY_SCREEN_NORTHWEST_WIDTH
public static final ConfigurationKey KEY_SCREEN_SOUTHEAST_WIDTH
public static final ConfigurationKey KEY_SCREEN_NORTHEAST_WIDTH
public static final ConfigurationKey KEY_SCREEN_WEST_WIDTH
public static final ConfigurationKey KEY_SCREEN_EAST_WIDTH
public static final ConfigurationKey KEY_SCREEN_SOUTH_HEIGHT
public static final ConfigurationKey KEY_SCREEN_NORTH_HEIGHT
public static final ConfigurationKey KEY_SCREEN_THEME
public static final ConfigurationKey KEY_LOOK_AND_FEEL_CLASS
public static final ConfigurationKey KEY_THEME_CLASS
public static final ConfigurationKey KEY_SMOOTH_EDGES
public static final ConfigurationKey KEY_USER_EMAIL
public static final ConfigurationKey KEY_USER_FULLNAME
public static final ConfigurationKey KEY_USER_IMPORT_CLASSPATH
public static final ConfigurationKey KEY_INPUT_SOURCE_ENCODING
public static final ConfigurationKey KEY_XMI_STRIP_DIAGRAMS
public static final ConfigurationKey KEY_DEFAULT_MODEL
public static final ConfigurationKey KEY_USER_EXPLORER_PERSPECTIVES
format: perspective name,rule,rule,rule;perspective name, etc
public static final ConfigurationKey KEY_LOCALE
public static final String CONSOLE_LOG
public static final String ARGO_CONSOLE_SUPPRESS
public static final String ARGO_CONSOLE_PREFIX
| Method Detail |
public static void setDirectory(String dir)
dir - the directory to savepublic static String getDirectory()
public static ArrayList getPlugins(Class pluginType,
Object[] context)
pluginType - class of the plugin to search forcontext - plugin-specific query parameters
public static ArrayList getPlugins(Class pluginType)
pluginType - class of the plugin to search for
public static void initializeModules()
public static String getArgoHome()
public static String getArgoRoot()
public static Icon lookupIconResource(String arg1)
arg1 - the name of the resource to find.
public static Icon lookupIconResource(String arg1,
String arg2)
arg1 - the name of the resource to find.arg2 - the description of the resource
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |