| Constructor and Description |
|---|
ActionWrapper(IAction action) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(IExecutionContext actionEvent)
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.
|
IAction |
unwrap() |
public ActionWrapper(IAction action)
public java.lang.String getText()
IActionpublic java.lang.String getToolTipText()
IActiongetToolTipText in interface IActionpublic IImageConstant getIcon()
IActionpublic java.lang.Character getMnemonic()
IActiongetMnemonic in interface IActionpublic Accelerator getAccelerator()
IActiongetAccelerator in interface IActionpublic boolean isEnabled()
IActionpublic void execute(IExecutionContext actionEvent) throws java.lang.Exception
IActionpublic IExceptionHandler getExceptionHandler()
IActiongetExceptionHandler in interface IActionpublic IActionChangeObservable getActionChangeObservable()
IActiongetActionChangeObservable in interface IActionSiehe auch Jowidgets Nutzerhandbuch