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()
IAction
public java.lang.String getToolTipText()
IAction
getToolTipText
in interface IAction
public IImageConstant getIcon()
IAction
public java.lang.Character getMnemonic()
IAction
getMnemonic
in interface IAction
public Accelerator getAccelerator()
IAction
getAccelerator
in interface IAction
public boolean isEnabled()
IAction
public void execute(IExecutionContext actionEvent) throws java.lang.Exception
IAction
public IExceptionHandler getExceptionHandler()
IAction
getExceptionHandler
in interface IAction
public IActionChangeObservable getActionChangeObservable()
IAction
getActionChangeObservable
in interface IAction
Siehe auch Jowidgets Nutzerhandbuch