alma::acs::vmtools::Launcher Class Reference

Collaboration diagram for alma::acs::vmtools::Launcher:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

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.

Author:
mschilli

Constructor & Destructor Documentation

alma::acs::vmtools::Launcher::Launcher (  )  [inline]

Member Function Documentation

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().


Member Data Documentation

Referenced by createButton(), and Launcher().

Class [] alma::acs::vmtools::Launcher::toolClasses = new Class[]{LogManagerGui.class, SysPropEditor.class} [package]

Referenced by Launcher().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2