
Public Member Functions | |
| Launcher () | |
Static Public Member Functions | |
| static void | main (String[] args) |
Protected Member Functions | |
| JFrame | createFrame (String title) |
| JButton | createButton (String toolName, Class toolClass) |
Protected Attributes | |
| JFrame | launcherFrame |
Static Package Functions | |
| static void | launchApplication (String[] args) |
Package Attributes | |
| Class[] | toolClasses = new Class[]{LogManagerGui.class, SysPropEditor.class} |
Static Private Member Functions | |
| static void | errorStop (String message) |
| static void | error (String message) |
The VmTools Launcher.
What it does: VmTools Launcher will first put up a little quick-starter Gui, then it will run the actual application. The quick-starter Gui contains buttons to run the actual tools, the actual application will be started through its main(String[]) method.
Using VmTools Launcher: The first command line argument to the Launcher must be the fully qualified name of the application's main class (containing the main method of the application). This first element will be stripped off, and all following arguments will be passed to the application.
Adding more VmTools: A VmTool
The VmTool's class is to be added to the class array implemented in this class. This may change to something more dynamic in a future version.
| alma::acs::vmtools::Launcher::Launcher | ( | ) | [inline] |
References createButton(), createFrame(), error(), launcherFrame, and toolClasses.
Referenced by main().
| JButton alma::acs::vmtools::Launcher::createButton | ( | String | toolName, | |
| Class | toolClass | |||
| ) | [inline, protected] |
References error(), and launcherFrame.
Referenced by Launcher().
| JFrame alma::acs::vmtools::Launcher::createFrame | ( | String | title | ) | [inline, protected] |
Referenced by Launcher().
| static void alma::acs::vmtools::Launcher::error | ( | String | message | ) | [inline, static, private] |
Referenced by createButton(), Launcher(), and main().
| static void alma::acs::vmtools::Launcher::errorStop | ( | String | message | ) | [inline, static, private] |
Referenced by launchApplication(), and main().
| static void alma::acs::vmtools::Launcher::launchApplication | ( | String[] | args | ) | [inline, static, package] |
References errorStop(), and main().
Referenced by main().
| static void alma::acs::vmtools::Launcher::main | ( | String[] | args | ) | [inline, static] |
Runs the Launcher Gui, then runs the application (specified as first argument).
References error(), errorStop(), launchApplication(), and Launcher().
Referenced by launchApplication().
JFrame alma::acs::vmtools::Launcher::launcherFrame [protected] |
Referenced by createButton(), and Launcher().
Class [] alma::acs::vmtools::Launcher::toolClasses = new Class[]{LogManagerGui.class, SysPropEditor.class} [package] |
Referenced by Launcher().
1.6.2