Static Public Member Functions | |
void | setContext (Object ctx) |
Object | unsetContext () |
Protected Member Functions | |
final void | performAction (GPNode[] activatedNodes) |
abstract void | performAction (GPNode[] activatedNodes, Object context) |
Static Private Attributes | |
WeakReference | ref |
(The implementation uses a weak reference and to help you avoid memory leaks.) Please remember that GP (NetBeans) actions are singletons, and you are not supposed to instantiate them.
|
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.
|
|
the action will be enabled only if the super class enables it and if the context is not null.
Implements cern::gp::actions::support::NodeAction.
|
|
set a context object. Please remember that Actions are singletons, and therfore this context is shared by all places where this action is used.
|
|
Clear the context and return it.
|
|
|