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

cern::gp::actions::MoveUpActionCopiedFromNetbeans Class Reference

Inheritance diagram for cern::gp::actions::MoveUpActionCopiedFromNetbeans:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getName ()
HelpCtx getHelpCtx ()

Protected Member Functions

void initialize ()
void performAction (Node[] activatedNodes)
boolean enable (Node[] activatedNodes)

Static Package Attributes

final long serialVersionUID = -8201315242813084212L

Private Member Functions

Index getCurIndexCookie ()
Index getIndexCookie (Node[] activatedNodes)

Static Private Member Functions

final void initErr ()

Private Attributes

Reference curIndexCookie

Static Private Attributes

final String PROP_ORDER_LISTENER = "sellistener"
ErrorManager err = null
boolean errInited = false

Detailed Description

Move an item up in a list. This action is final only for performance reasons.

This class has been copied from the Netbeans source. Minimal necessary changes made:


Member Function Documentation

boolean cern::gp::actions::MoveUpActionCopiedFromNetbeans::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.

Index cern::gp::actions::MoveUpActionCopiedFromNetbeans::getCurIndexCookie  )  [inline, private]
 

Getter for curIndexCookie

HelpCtx cern::gp::actions::MoveUpActionCopiedFromNetbeans::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.

Index cern::gp::actions::MoveUpActionCopiedFromNetbeans::getIndexCookie Node[]  activatedNodes  )  [inline, private]
 

Helper method. Returns index cookie or null, if some conditions weren't satisfied

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

final void cern::gp::actions::MoveUpActionCopiedFromNetbeans::initErr  )  [inline, static, private]
 

void cern::gp::actions::MoveUpActionCopiedFromNetbeans::initialize  )  [inline, protected]
 

void cern::gp::actions::MoveUpActionCopiedFromNetbeans::performAction Node[]  activatedNodes  )  [inline, protected]
 


Member Data Documentation

Reference cern::gp::actions::MoveUpActionCopiedFromNetbeans::curIndexCookie [private]
 

Holds index cookie on which we are listening

ErrorManager cern::gp::actions::MoveUpActionCopiedFromNetbeans::err = null [static, private]
 

boolean cern::gp::actions::MoveUpActionCopiedFromNetbeans::errInited = false [static, private]
 

final String cern::gp::actions::MoveUpActionCopiedFromNetbeans::PROP_ORDER_LISTENER = "sellistener" [static, private]
 

the key to listener to reorder of selected nodes

final long cern::gp::actions::MoveUpActionCopiedFromNetbeans::serialVersionUID = -8201315242813084212L [static, package]
 

generated Serialized Version UID


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