

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 = -6895014137711668193L |
Private Member Functions | |
| Index | getCurIndexCookie () |
| Index | getIndexCookie (Node[] activatedNodes) |
Private Attributes | |
| Reference | curIndexCookie |
Static Private Attributes | |
| static final String | PROP_ORDER_LISTENER = "sellistener" |
Move an item down in a list. This action is final only for performance reasons. This class has been copied from the Netbeans source. Minimal necessary changes made:
| boolean cern::gp::actions::MoveDownActionCopiedFromNetbeans::enable | ( | Node[] | activatedNodes | ) | [inline, protected] |
References curIndexCookie, getCurIndexCookie(), getIndexCookie(), and PROP_ORDER_LISTENER.
| Index cern::gp::actions::MoveDownActionCopiedFromNetbeans::getCurIndexCookie | ( | ) | [inline, private] |
| HelpCtx cern::gp::actions::MoveDownActionCopiedFromNetbeans::getHelpCtx | ( | ) | [inline] |
| Index cern::gp::actions::MoveDownActionCopiedFromNetbeans::getIndexCookie | ( | Node[] | activatedNodes | ) | [inline, private] |
Helper method. Returns index cookie or null, if some conditions aren't satisfied
Referenced by enable(), performAction(), and cern::gp::actions::MoveDownActionCopiedFromNetbeans::OrderingListener::stateChanged().
| String cern::gp::actions::MoveDownActionCopiedFromNetbeans::getName | ( | ) | [inline] |
| void cern::gp::actions::MoveDownActionCopiedFromNetbeans::initialize | ( | ) | [inline, protected] |
References PROP_ORDER_LISTENER.
| void cern::gp::actions::MoveDownActionCopiedFromNetbeans::performAction | ( | Node[] | activatedNodes | ) | [inline, protected] |
References getIndexCookie().
Reference cern::gp::actions::MoveDownActionCopiedFromNetbeans::curIndexCookie [private] |
Holds index cookie on which we are listening
Referenced by enable(), and getCurIndexCookie().
final String cern::gp::actions::MoveDownActionCopiedFromNetbeans::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::MoveDownActionCopiedFromNetbeans::serialVersionUID = -6895014137711668193L [static, package] |
generated Serialized Version UID
1.6.2