cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction Class Reference

Inheritance diagram for cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This action deletes all choosen category from choosen category explorer

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::DeleteAllChoosenCategoryAction (  )  [inline]

Creates a new instance of DeleteAllChoosenCategoryAction


Member Function Documentation

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.

See also:
org.openide.util.actions.NodeAction::enable(Node[])

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.

Returns:
the name of the action

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

Returns:
the pathname of the icon

Reimplemented from cern::gp::actions::support::NodeAction.

void cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::performAction ( GPNode[]  activatedNodes  )  [inline, protected, virtual]
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.

Parameters:
activatedNodes the nodes currently selected
context the object set with setContext() can be null

Member Data Documentation

Initial value:
 NbBundle.getMessage(
    DeleteAllChoosenCategoryAction.class,
    "LBL_DeleteAllChoosenCategoryAction_name")

Referenced by getName().


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

Generated by  doxygen 1.6.2