List of all members.
Detailed Description
An action to be invoked on Beans, and to be used in combination with Capabilities. Your actions should inherit from this action and instantiate their superclass (this class) passing the class of the Capability as an argument. For an example, please refer to {gp.example.actions.beans.SmileAction
)
- Version:
- Revision:
- 1.2
- Date:
- 2006/09/25 08:52:36
- Author:
- Vito Baggiolini
Constructor & Destructor Documentation
cern.gp.actions.support.BeanActionSupport.BeanActionSupport |
( |
Class |
capabilityClass |
) |
throws IllegalArgumentException |
cern.gp.actions.support.BeanActionSupport.BeanActionSupport |
( |
Class |
capabilityClass, |
|
|
int |
selectionMode | |
|
) |
| | throws IllegalArgumentException |
Constructor that allows to specify the selectionMode The selection mode determines how many nodes must be selected to enable the action. The possible modes are defined in the class org.openide.util.actions.CookieAction
- Parameters:
-
Member Function Documentation
void cern.gp.actions.support.BeanActionSupport.performCapability |
( |
GPNode |
node, |
|
|
Capability |
capability | |
|
) |
| | throws InvocationTargetException [protected, virtual] |
Performs the associated capability for the given node.
- Parameters:
-
| node | the node for which the capability is performed |
| capability | the capability to perform |
Implements cern.gp.actions.support.BeanAction.
The documentation for this class was generated from the following file: