cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction Class Reference

Inheritance diagram for cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String getName ()

Protected Member Functions

boolean enable (Node[] nodes)
void performAction (GPNode[] activatedNodes, Object context)
String iconResource ()
void performAction (cern.gp.nodes.GPNode[] activatedNodes)
boolean surviveFocusChange ()

Static Protected Attributes

static final Logger logger

Static Private Attributes

static final String addStr

Detailed Description

This class copies BeanSupport objects from TreeExplorer to ListExplorer. (from CateogoryTree to ChoosenCategories)

Author:
pawlowsk

Member Function Documentation

boolean cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction::enable ( Node[]  nodes  )  [inline, protected]

Creates a new instance of CategoryCopyOverNodesAction 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::CategoryCopyOverNodesAction::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.

References addStr.

String cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction::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::CategoryCopyOverNodesAction::performAction ( cern.gp.nodes.GPNode[]  activatedNodes  )  [inline, protected]
void cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction::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
boolean cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction::surviveFocusChange (  )  [inline, protected]

Member Data Documentation

Initial value:
 NbBundle.getMessage(
    CategoryCopyOverNodesAction.class,
    "LBL_CategoryCopyOverNodesAction_name")

Referenced by getName().

Initial value:
    LogFactory.getLogger(CategoryCopyOverNodesAction.class.getName())

Referenced by performAction().


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

Generated by  doxygen 1.6.2