

Classes | |
| class | OrderingListener |
Public Member Functions | |
| String | getName () |
| HelpCtx | getHelpCtx () |
Protected Member Functions | |
| void | initialize () |
| void | performAction (Node[] activatedNodes) |
| boolean | enable (Node[] activatedNodes) |
Static Package Attributes | |
| static final long | serialVersionUID = -8201315242813084212L |
Private Member Functions | |
| Index | getCurIndexCookie () |
| Index | getIndexCookie (Node[] activatedNodes) |
Static Private Member Functions | |
| static final void | initErr () |
Private Attributes | |
| Reference | curIndexCookie |
Static Private Attributes | |
| static final String | PROP_ORDER_LISTENER = "sellistener" |
| static ErrorManager | err = null |
| static boolean | errInited = false |
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:
replaced Bundle-based getName() with getName() that returns a String
| boolean cern::gp::actions::MoveUpActionCopiedFromNetbeans::enable | ( | Node[] | activatedNodes | ) | [inline, protected] |
References curIndexCookie, err, getCurIndexCookie(), getIndexCookie(), initErr(), and PROP_ORDER_LISTENER.
| Index cern::gp::actions::MoveUpActionCopiedFromNetbeans::getCurIndexCookie | ( | ) | [inline, private] |
| HelpCtx cern::gp::actions::MoveUpActionCopiedFromNetbeans::getHelpCtx | ( | ) | [inline] |
| Index cern::gp::actions::MoveUpActionCopiedFromNetbeans::getIndexCookie | ( | Node[] | activatedNodes | ) | [inline, private] |
Helper method. Returns index cookie or null, if some conditions weren't satisfied
Referenced by enable(), performAction(), and cern::gp::actions::MoveUpActionCopiedFromNetbeans::OrderingListener::stateChanged().
| String cern::gp::actions::MoveUpActionCopiedFromNetbeans::getName | ( | ) | [inline] |
| static final void cern::gp::actions::MoveUpActionCopiedFromNetbeans::initErr | ( | ) | [inline, static, private] |
References err, and errInited.
Referenced by enable(), initialize(), and cern::gp::actions::MoveUpActionCopiedFromNetbeans::OrderingListener::stateChanged().
| void cern::gp::actions::MoveUpActionCopiedFromNetbeans::initialize | ( | ) | [inline, protected] |
References err, initErr(), and PROP_ORDER_LISTENER.
| void cern::gp::actions::MoveUpActionCopiedFromNetbeans::performAction | ( | Node[] | activatedNodes | ) | [inline, protected] |
References getIndexCookie().
Reference cern::gp::actions::MoveUpActionCopiedFromNetbeans::curIndexCookie [private] |
Holds index cookie on which we are listening
Referenced by enable(), and getCurIndexCookie().
ErrorManager cern::gp::actions::MoveUpActionCopiedFromNetbeans::err = null [static, private] |
boolean cern::gp::actions::MoveUpActionCopiedFromNetbeans::errInited = false [static, private] |
Referenced by initErr().
final String cern::gp::actions::MoveUpActionCopiedFromNetbeans::PROP_ORDER_LISTENER = "sellistener" [static, private] |
the key to listener to reorder of selected nodes
Referenced by enable(), and initialize().
final long cern::gp::actions::MoveUpActionCopiedFromNetbeans::serialVersionUID = -8201315242813084212L [static, package] |
generated Serialized Version UID
1.6.2