

Public Member Functions | |
| AddCategoryAction () | |
| String | getName () |
Protected Member Functions | |
| void | performAction (GPNode[] activatedNodes) |
| boolean | enable (Node[] nodes) |
| String | iconResource () |
Static Protected Attributes | |
| static final Logger | logger = LogFactory.getLogger(AddCategoryAction.class.getName()) |
Static Private Attributes | |
| static final String | label = NbBundle.getMessage(AddCategoryAction.class,"LBL_AddCategoryAction_name") |
| cern::laser::guiplatform::actions::category::AddCategoryAction::AddCategoryAction | ( | ) | [inline] |
Creates a new instance of AddCategoryAction
| boolean cern::laser::guiplatform::actions::category::AddCategoryAction::enable | ( | Node[] | nodes | ) | [inline, protected] |
the action will be enabled only if the super class enables it and if the context is not null.
Reimplemented from cern::gp::actions::support::NodeAction.
| String cern::laser::guiplatform::actions::category::AddCategoryAction::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 label.
| String cern::laser::guiplatform::actions::category::AddCategoryAction::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::AddCategoryAction::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::guiplatform::windows::search::CategorySelectorWindow::addCategoryWithoutChildren(), cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::addCategoryWithoutChildren(), logger, cern::laser::guiplatform::windows::search::CategorySelectorWindow::updateCategoryTreeExplorer(), and cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::updateCategoryTreeExplorer().
final String cern::laser::guiplatform::actions::category::AddCategoryAction::label = NbBundle.getMessage(AddCategoryAction.class,"LBL_AddCategoryAction_name") [static, private] |
Referenced by getName().
final Logger cern::laser::guiplatform::actions::category::AddCategoryAction::logger = LogFactory.getLogger(AddCategoryAction.class.getName()) [static, protected] |
Referenced by performAction().
1.6.2