Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Package Functions | Package Attributes

alma.acs.vmtools.Launcher Class Reference

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}

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

Member Function Documentation

JButton alma.acs.vmtools.Launcher.createButton ( String  toolName,
Class  toolClass 
) [protected]
JFrame alma.acs.vmtools.Launcher.createFrame ( String  title  )  [protected]
static void alma.acs.vmtools.Launcher.launchApplication ( String[]  args  )  [static, package]
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().


Member Data Documentation

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties