

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 |
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.
| 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.
| 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.
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.
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
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.
| activatedNodes | the non null (possibly empty) array of nodes selected at the moment the action has been triggered |
Implements cern::gp::actions::support::NodeAction.
References cern::laser::client::services::browsing::AlarmBrowsingHandler::getAlarmsByCategory(), cern::laser::guiplatform::category::CategoryBean::getCategoryId(), cern::laser::guiplatform::category::CategoryBean::getPath(), cern::laser::client::LaserException::getRootCause(), logger, cern::laser::guiplatform::alarms::AlarmBean::setInfoMode(), and cern::laser::guiplatform::windows::alarms::AlarmInfoExplorer::update().
final Logger cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::logger [static, private] |
LogFactory.getLogger(ShowAlarmByCategoryAction.class.getName())
logger
Referenced by performAction().
final String cern::laser::guiplatform::actions::category::ShowAlarmByCategoryAction::name [static, private] |
NbBundle.getMessage(ShowAlarmByCategoryAction.class,
"LBL_Action_ShowAlarmByCategoryAction_action_name")
action name
Referenced by getName().
1.6.2