public interface IAction
Modifier and Type | Method and Description |
---|---|
void |
execute(IExecutionContext executionContext)
Executes the action
|
Accelerator |
getAccelerator()
Gets the actions accelerator
|
IActionChangeObservable |
getActionChangeObservable()
For mutable actions, an observable can be implemented to recognize changes
on this action.
|
IExceptionHandler |
getExceptionHandler()
Gets the ExceptionHandler of this action.
|
IImageConstant |
getIcon()
Gets the action icon
|
java.lang.Character |
getMnemonic()
Gets the action mnemonic
|
java.lang.String |
getText()
Gets the action label text
|
java.lang.String |
getToolTipText()
Gets the actions tooltip text
|
boolean |
isEnabled()
Gets the enabled state of the action.
|
java.lang.String getText()
java.lang.String getToolTipText()
IImageConstant getIcon()
java.lang.Character getMnemonic()
Accelerator getAccelerator()
boolean isEnabled()
void execute(IExecutionContext executionContext) throws java.lang.Exception
executionContext
- The execution contextjava.lang.Exception
IExceptionHandler getExceptionHandler()
IActionChangeObservable getActionChangeObservable()
Siehe auch Jowidgets Nutzerhandbuch