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

static final String name
static 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[]  activatedNodes  )  [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.

References name.

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]

Member Data Documentation

Initial value:
 
            LogFactory.getLogger(ShowAlarmByCategoryAction.class.getName())

logger

Referenced by performAction().

Initial value:
 
        NbBundle.getMessage(ShowAlarmByCategoryAction.class, 
                        "LBL_Action_ShowAlarmByCategoryAction_action_name")

action name

Referenced by getName().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2