public interface ActionConfiguration
Modifier and Type | Method and Description |
---|---|
Optional<Action> |
getActionById(String id)
Return an action callback by its action id.
|
Collection<Action> |
getActions()
Return all actions contained in this configuration.
|
ActionControlCreator<? extends org.eclipse.swt.widgets.Control> |
getControlCreator(Action action)
Returns the control creator callback for a given action.
|
Collection<org.eclipse.jface.bindings.keys.KeyStroke> |
getKeyStrokesFor(Action action)
Returns the list of key sequences for a given action.
|
boolean |
hasControlFor(Action action)
Returns whether an action has a control.
|
boolean |
hasKeyStrokesFor(Action action)
Returns whether key sequences for a given action exist.
|
Optional<Action> getActionById(String id)
Action
.id
- the ID of the action to returnCollection<Action> getActions()
boolean hasKeyStrokesFor(Action action)
action
- the action to get the key sequences for.Collection<org.eclipse.jface.bindings.keys.KeyStroke> getKeyStrokesFor(Action action)
action
- the action to return key sequences for.boolean hasControlFor(Action action)
action
- the action to check for a controlActionControlCreator<? extends org.eclipse.swt.widgets.Control> getControlCreator(Action action)
action
- the action to return the callback forCopyright © 2019. All rights reserved.