public interface MKeyBinding extends MApplicationElement, MKeySequence
Keybindings map a particular keyboard sequence (i.e. Ctrl + C for Copy...) onto some command.
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
MCommand |
getCommand()
Returns the value of the 'Command' reference
|
List<MParameter> |
getParameters()
Returns the value of the 'Parameters' containment reference list.
|
void |
setCommand(MCommand value)
Sets the value of the '
Command' reference |
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdgetKeySequence, setKeySequenceMCommand getCommand()
A reference to the Command to (attempt to) execute if the given key sequence is detected.
setCommand(MCommand)void setCommand(MCommand value)
Command' reference.
value - the new value of the 'Command' reference.getCommand()List<MParameter> getParameters()
MParameter.
This allows a KeyBinding to provide a particular set of parameters to be used when the Command is to be executed. This allows generic commands like 'Open Part' to have bindings that will open a specific Part...
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.