Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.

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]
 

Performs the action for the given nodes.

Parameters:
activatedNodes the non null (possibly empty) array of nodes selected at the moment the action has been triggered

Implements cern::gp::actions::support::NodeAction.

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

final String cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::deleteAllStr [private]
 

Initial value:

NbBundle.getMessage( DeleteAllChoosenCategoryAction.class, "LBL_DeleteAllChoosenCategoryAction_name")


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:21 2009 for ACS Java API by doxygen 1.3.8