

Public Member Functions | |
| DeleteAllChoosenCategoryAction () | |
| String | getName () |
Protected Member Functions | |
| boolean | enable (Node[] nodes) |
| void | performAction (GPNode[] activatedNodes, Object context) |
| void | performAction (GPNode[] activatedNodes) |
| String | iconResource () |
Private Attributes | |
| final String | deleteAllStr |
This action deletes all choosen category from choosen category explorer
| cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::DeleteAllChoosenCategoryAction | ( | ) | [inline] |
Creates a new instance of DeleteAllChoosenCategoryAction
| boolean cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::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::DeleteAllChoosenCategoryAction::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 deleteAllStr.
| String cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::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::DeleteAllChoosenCategoryAction::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::removeAllCategories(), cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::removeAllCategories(), cern::laser::guiplatform::windows::search::CategorySelectorWindow::updateCategoryTreeExplorer(), and cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::updateCategoryTreeExplorer().
| void cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::performAction | ( | GPNode[] | activatedNodes, | |
| Object | context | |||
| ) | [inline, protected] |
A method called by GP when you invoke this action. You have to implement this method with the action you want to execute. Please note that the context parameter may be null.
| activatedNodes | the nodes currently selected | |
| context | the object set with setContext() can be null |
final String cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::deleteAllStr [private] |
NbBundle.getMessage(
DeleteAllChoosenCategoryAction.class,
"LBL_DeleteAllChoosenCategoryAction_name")
Referenced by getName().
1.6.2