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

cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction Class Reference

Inheritance diagram for cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction:

Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getName ()
HelpCtx getHelpCtx ()

Protected Member Functions

void performAction (GPNode[] activatedNodes)
boolean enable (Node[] nodes)
String iconResource ()

Static Private Attributes

final String name
final Logger logger

Detailed Description

Action sensitive to the node selection that does something useful. Consider using a cookie action instead if you can define what the action is applicable to in terms of cookies.
Author:
Bartlomiej Pawlowski <Bartlomiej.Pawlowski@cern.ch>


Member Function Documentation

boolean cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::enable Node[]  nodes  )  [inline, protected]
 

The action will only be enabled if at least one GPNode is selected.

See also:
org.openide.util.actions.NodeAction#enable
Parameters:
activatedNodes gives array of actually activated nodes.

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

HelpCtx cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::getHelpCtx  )  [inline]
 

Help context where to find more about the action.

Returns:
the help context for this action

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

String cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::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::NodeAction.

String cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::iconResource  )  [inline, protected]
 

Returns the pathname of the icon to use to display this action

Returns:
the pathname of the icon

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

void cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::performAction GPNode[]  activatedNodes  )  [inline, protected, 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::NodeAction.


Member Data Documentation

final Logger cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::logger [static, private]
 

Initial value:

LogFactory.getLogger(ShowAlarmByCategoryAction.class.getName())
logger

final String cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::name [static, private]
 

Initial value:

NbBundle.getMessage(ShowAlarmByCategoryAction.class, "LBL_Action_ShowAlarmByCategoryAction_action_name")
action name


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