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

cern::gp::actions::MainLauncherAction Class Reference

Inheritance diagram for cern::gp::actions::MainLauncherAction:

Inheritance graph
[legend]
Collaboration diagram for cern::gp::actions::MainLauncherAction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void performAction ()
String getName ()
HelpCtx getHelpCtx ()

Static Public Attributes

final String MAIN_CLASS_OPTION = "cern.gp.mainclass"
String mainClassName = System.getProperty(MAIN_CLASS_OPTION)

Detailed Description

An Action that launches the main method of the class indicated in the related system property MAIN_CLASS_OPTION. With this action you can quickly bind a class with a main method into a menu. This is used, e.g. when running the Platform inside another IDE, e.g. for debugging purposes.

See the corresponding HowTo "Running the GP Platform in Eclipse"

Author:
Vito Baggiolini
Version:
Revision
1.2
,
Date
2006/09/25 08:52:36


Member Function Documentation

HelpCtx cern::gp::actions::MainLauncherAction::getHelpCtx  )  [inline]
 

Help context where to find more about the action.

Returns:
the help context for this action

Reimplemented from cern::gp::actions::support::CallableSystemAction.

String cern::gp::actions::MainLauncherAction::getName  )  [inline]
 

Human presentable name of the action. This should be presented as an item in a menu.

Returns:
the name of the action

Reimplemented from cern::gp::actions::support::CallableSystemAction.

void cern::gp::actions::MainLauncherAction::performAction  )  [inline, virtual]
 

Performs the action for the given nodes.

Parameters:
activatedNodes the non null (possibly empty) array of nodes selected at the moment the action has been triggered

Implements cern::gp::actions::support::CallableSystemAction.


Member Data Documentation

final String cern::gp::actions::MainLauncherAction::MAIN_CLASS_OPTION = "cern.gp.mainclass" [static]
 

String cern::gp::actions::MainLauncherAction::mainClassName = System.getProperty(MAIN_CLASS_OPTION) [static]
 


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