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

cern::gp::actions::AcceptAction Class Reference

Inheritance diagram for cern::gp::actions::AcceptAction:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AcceptAction ()
String getName ()

Protected Member Functions

void performCapability (GPNode node, Capability capability)

Detailed Description

The action for "accepting" something. An Object that wants to support this action (i.e. it wants to be "accepted") has to implement the AcceptCapability and has to declare in its BeanInfo that it supports the AcceptAction.

See also:
cern.gp.capabilities.AcceptCapability

cern.gp.beans.BeanInfoSupport

Author:
Vito Baggiolini
Version:
Revision
1.2
Date
2006/09/25 08:52:36


Constructor & Destructor Documentation

cern::gp::actions::AcceptAction::AcceptAction  )  [inline]
 

Creates a new instance do not call this directly, use SystemActions.get() instead


Member Function Documentation

String cern::gp::actions::AcceptAction::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::BeanAction.

void cern::gp::actions::AcceptAction::performCapability GPNode  node,
Capability  capability
[inline, protected, virtual]
 

Performs the 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:
Generated on Thu Apr 30 03:08:08 2009 for ACS Java API by doxygen 1.3.8