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} |
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 | ( | ) |
JButton alma.acs.vmtools.Launcher.createButton | ( | String | toolName, | |
Class | toolClass | |||
) | [protected] |
References alma.acs.vmtools.Launcher.launcherFrame.
Referenced by alma.acs.vmtools.Launcher.Launcher().
JFrame alma.acs.vmtools.Launcher.createFrame | ( | String | title | ) | [protected] |
Referenced by alma.acs.vmtools.Launcher.Launcher().
static void alma.acs.vmtools.Launcher.launchApplication | ( | String[] | args | ) | [static, package] |
References alma.acs.vmtools.Launcher.main().
Referenced by alma.acs.vmtools.Launcher.main().
static void alma.acs.vmtools.Launcher.main | ( | String[] | args | ) | [static] |
Runs the Launcher Gui, then runs the application (specified as first argument).
References alma.acs.vmtools.Launcher.launchApplication(), and alma.acs.vmtools.Launcher.Launcher().
Referenced by alma.acs.vmtools.Launcher.launchApplication().
JFrame alma.acs.vmtools.Launcher.launcherFrame [protected] |
Referenced by alma.acs.vmtools.Launcher.createButton(), and alma.acs.vmtools.Launcher.Launcher().
Class [] alma.acs.vmtools.Launcher.toolClasses = new Class[]{LogManagerGui.class, SysPropEditor.class} [package] |
Referenced by alma.acs.vmtools.Launcher.Launcher().