public abstract class CallableSystemAction
extends org.openide.util.actions.CallableSystemAction
Subclasses should overwrite the following methods in order to provide custom name and icon (if not overwritten a generic name and icon will be used) :
getNameiconResourceSubclasses must overwrite the following abstract methods :
performAction()The action can be attached to any menu or button.
| Constructor and Description |
|---|
CallableSystemAction() |
| Modifier and Type | Method and Description |
|---|---|
HelpCtx |
getHelpCtx()
Help context where to find more about the action.
|
java.lang.String |
getName()
Human presentable name of the action.
|
protected java.lang.String |
iconResource()
Returns the pathname of the icon to use to display this action
|
abstract void |
performAction()
Performs the action for the given nodes.
|
public java.lang.String getName()
public HelpCtx getHelpCtx()
protected java.lang.String iconResource()
public abstract void performAction()
activatedNodes - the non null (possibly empty) array of nodes selected at the moment the action has been
triggered