public interface IActionItemModel extends IMenuItemModel, IToolBarItemModel, IActionObservable
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed()
This fires an action performed event for the item.
|
void |
addDecorator(IDecorator<IAction> decorator)
Adds a decorator to the model.
|
IActionItemModel |
createCopy()
Creates a deep copy of the item and its children.
|
IAction |
getAction()
Gets the bound action of the item
|
void |
removeDecorator(IDecorator<IAction> decorator)
Removes a decorator from the model.
|
void |
setAction(IAction action)
Sets an action that should be bound to the model
|
getAccelerator, getIcon, getId, getMnemonic, getText, getToolTipText, isEnabled, isVisible, setAccelerator, setAccelerator, setEnabled, setIcon, setMnemonic, setMnemonic, setText, setToolTipText, setVisible
addItemModelListener, removeItemModelListener
addActionListener, removeActionListener
void setAction(IAction action)
action
- The action to bind, may be nullIAction getAction()
void addDecorator(IDecorator<IAction> decorator)
decorator
- The decorator to addvoid removeDecorator(IDecorator<IAction> decorator)
decorator
- The decorator to addvoid actionPerformed()
IActionItemModel createCopy()
IItemModel
createCopy
in interface IItemModel
createCopy
in interface IMenuItemModel
Siehe auch Jowidgets Nutzerhandbuch