Class icm.action.utility.ScriptAction
Extends
icm.action.Action.
Creates a button or menu item that runs a custom script.
Context required by this action: None
Defined in: <icm/action/utility/ScriptAction.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class icm.action.Action:
- arguments, menu, resourceBundle, title, widget
| Method Attributes | Method Name and Description |
|---|---|
|
execute()
|
|
|
stripComments(script)
|
|
|
toString()
|
- Methods borrowed from class icm.action.Action:
- broadcastEvent, canPerformAction, cleanActionContext, getActionContext, getArgument, getArguments, getCallback, getWidget, init, isCM8, isGlobalEnabled, performAction, postExecute, preExecute, publishEvent, refreshMenus, setActionContext, setEnabled, setVisible, showConfirmationDialog, showErrDialog
Method Detail
execute()
isEnabled()
isVisible()
stripComments(script)
- Parameters:
- script
toString()