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

cern::gp::actions::support::BeanActionSupport Class Reference

Inheritance diagram for cern::gp::actions::support::BeanActionSupport:

Inheritance graph
[legend]
Collaboration diagram for cern::gp::actions::support::BeanActionSupport:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BeanActionSupport (Class capabilityClass) throws IllegalArgumentException
 BeanActionSupport (Class capabilityClass, int selectionMode) throws IllegalArgumentException

Protected Member Functions

void performCapability (GPNode node, Capability capability) throws InvocationTargetException

Private Attributes

Method capabilityMethod
boolean isNoArg

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 [inline]
 

Constructor to use if you don't need to specify the selection mode.

Parameters:
capabilityClass the class of the corresponding capability
See also:
cern.gp.actions.support.BeanAction::BeanAction(Class)

cern::gp::actions::support::BeanActionSupport::BeanActionSupport Class  capabilityClass,
int  selectionMode
throws IllegalArgumentException [inline]
 

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:
capabilityClass the class of the corresponding capability
selectionMode see fields of org.openide.util.actions.CookieAction


Member Function Documentation

void cern::gp::actions::support::BeanActionSupport::performCapability GPNode  node,
Capability  capability
throws InvocationTargetException [inline, 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.


Member Data Documentation

Method cern::gp::actions::support::BeanActionSupport::capabilityMethod [private]
 

boolean cern::gp::actions::support::BeanActionSupport::isNoArg [private]
 


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