cern::laser::test::CopyNodesActionAction Class Reference

Inheritance diagram for cern::laser::test::CopyNodesActionAction:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::test::CopyNodesActionAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String getName ()
HelpCtx getHelpCtx ()

Protected Member Functions

void performAction (Node[] nodes)
boolean enable (Node[] nodes)
String iconResource ()
void performAction (cern.gp.nodes.GPNode[] gPNode)

Static Package Attributes

static int counter = 0
static Logger logger = LogFactory.getLogger(CopyNodesActionAction.class.getName())

Detailed Description

Action sensitive to the node selection that does something useful. Consider using a cookie action instead if you can define what the action is applicable to in terms of cookies.

Author:
pawlowsk

Member Function Documentation

boolean cern::laser::test::CopyNodesActionAction::enable ( Node[]  activatedNodes  )  [inline, protected]

The action will only be enabled if at least one GPNode is selected.

See also:
org.openide.util.actions.NodeAction::enable
Parameters:
activatedNodes gives array of actually activated nodes.

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

HelpCtx cern::laser::test::CopyNodesActionAction::getHelpCtx (  )  [inline]

Help context where to find more about the action.

Returns:
the help context for this action

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

String cern::laser::test::CopyNodesActionAction::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::test::CopyNodesActionAction::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::test::CopyNodesActionAction::performAction ( cern.gp.nodes.GPNode[]  gPNode  )  [inline, protected]
void cern::laser::test::CopyNodesActionAction::performAction ( Node[]  nodes  )  [inline, protected]

References counter.


Member Data Documentation

Referenced by performAction().

Logger cern::laser::test::CopyNodesActionAction::logger = LogFactory.getLogger(CopyNodesActionAction.class.getName()) [static, package]

logger


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

Generated by  doxygen 1.6.2