|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.application.Main
Here it all starts...
Field Summary | |
static String |
DEFAULT_LOGGING_CONFIGURATION
The location of the default logging configuration (.lcf) file. |
private static Logger |
LOG
Logger. |
private static Vector |
postLoadActions
|
Constructor Summary | |
Main()
|
Method Summary | |
static void |
addPostLoadAction(Runnable r)
Add an element to the PostLoadActions list. |
private static void |
checkHostsFile()
Check that we can get the InetAddress for localhost. |
private static void |
checkJVMVersion()
Checks tha JVM Version. |
private static void |
initializeGUI(boolean doSplash,
String themeMemory)
Do a part of the initialization that is very much GUI-stuff. |
static void |
main(String[] args)
The main entry point of ArgoUML. |
static void |
performCommands(List list)
Perform a list of commands that were given on the command line. |
private static void |
printUsage()
Prints the usage message. |
private static URL |
projectUrl(String projectName,
URL urlToOpen)
Calculates the URL for the given project name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final Logger LOG
public static final String DEFAULT_LOGGING_CONFIGURATION
private static Vector postLoadActions
Constructor Detail |
public Main()
Method Detail |
public static void main(String[] args)
args
- command line parametersprivate static URL projectUrl(String projectName, URL urlToOpen)
URL
for the given project name.
If the file does not exist or cannot be converted the default
URL
is returned.
projectName
- is the file name of the projecturlToOpen
- is the default URL
private static void printUsage()
private static void checkJVMVersion()
If it is a non supported JVM version we exit immediatly.
private static void checkHostsFile()
public static void addPostLoadAction(Runnable r)
r
- a "Runnable" actionpublic static void performCommands(List list)
list
- The commands, a list of strings.private static void initializeGUI(boolean doSplash, String themeMemory)
doSplash
- true if we are updating the splashthemeMemory
- is the theme to set.
|
|||||||||||
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 |