Public Member Functions | |
String | getName () |
HelpCtx | getHelpCtx () |
abstract void | performAction () |
Protected Member Functions | |
String | iconResource () |
Generic action that should be used as a parent class for all non contextual actions.
Subclasses should overwrite the following methods in order to provide custom name and icon (if not overwritten a generic name and icon will be used) :
getName
iconResource
Subclasses must overwrite the following abstract methods :
The action can be attached to any menu or button.
HelpCtx cern.gp.actions.support.CallableSystemAction.getHelpCtx | ( | ) |
Help context where to find more about the action.
String cern.gp.actions.support.CallableSystemAction.getName | ( | ) |
Human presentable name of the action. This should be presented as an item in a menu.
String cern.gp.actions.support.CallableSystemAction.iconResource | ( | ) | [protected] |
Returns the pathname of the icon to use to display this action
abstract void cern.gp.actions.support.CallableSystemAction.performAction | ( | ) | [pure virtual] |
Performs the action for the given nodes.
activatedNodes | the non null (possibly empty) array of nodes selected at the moment the action has been triggered |