

Public Member Functions | |
| CategoryCopyAllOverNodesAction () | |
| String | getName () |
Protected Member Functions | |
| boolean | enable (Node[] nodes) |
| String | iconResource () |
| void | performAction (GPNode[] activatedNodes, Object context) |
| void | performAction (GPNode[] activatedNodes) |
Static Protected Attributes | |
| static final Logger | logger |
Static Private Attributes | |
| static final String | addAllStr |
| cern::laser::guiplatform::actions::category::CategoryCopyAllOverNodesAction::CategoryCopyAllOverNodesAction | ( | ) | [inline] |
Creates a new instance of CategoryCopyAllOverNodesAction
| boolean cern::laser::guiplatform::actions::category::CategoryCopyAllOverNodesAction::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::CategoryCopyAllOverNodesAction::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 addAllStr.
| String cern::laser::guiplatform::actions::category::CategoryCopyAllOverNodesAction::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::CategoryCopyAllOverNodesAction::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::addCategory(), cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::addCategory(), cern::gp::nodes::GPNode::getParent(), cern::laser::guiplatform::windows::search::CategorySelectorWindow::updateCategoryTreeExplorer(), and cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::updateCategoryTreeExplorer().
| void cern::laser::guiplatform::actions::category::CategoryCopyAllOverNodesAction::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::CategoryCopyAllOverNodesAction::addAllStr [static, private] |
NbBundle.getMessage(
CategoryCopyAllOverNodesAction.class,
"LBL_CategoryCopyAllOverNodesAction_name")
Referenced by getName().
final Logger cern::laser::guiplatform::actions::category::CategoryCopyAllOverNodesAction::logger [static, protected] |
LogFactory.getLogger(CategoryCopyAllOverNodesAction.class.getName())
1.6.2