Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

List of all members.

Public Member Functions

 Launcher ()

Static Public Member Functions

void main (String[] args)

Protected Member Functions

JFrame createFrame (String title)
JButton createButton (String toolName, Class toolClass)

Protected Attributes

JFrame launcherFrame

Static Package Functions

void launchApplication (String[] args)

Package Attributes

Class[] toolClasses = new Class[]{LogManagerGui.class, SysPropEditor.class}

Static Private Member Functions

void errorStop (String message)
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]
 

JFrame alma::acs::vmtools::Launcher::createFrame String  title  )  [inline, protected]
 

void alma::acs::vmtools::Launcher::error String  message  )  [inline, static, private]
 

void alma::acs::vmtools::Launcher::errorStop String  message  )  [inline, static, private]
 

void alma::acs::vmtools::Launcher::launchApplication String[]  args  )  [inline, static, package]
 

void alma::acs::vmtools::Launcher::main String[]  args  )  [inline, static]
 

Runs the Launcher Gui, then runs the application (specified as first argument).


Member Data Documentation

JFrame alma::acs::vmtools::Launcher::launcherFrame [protected]
 

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


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:37 2009 for ACS Java API by doxygen 1.3.8