|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The key binding service allows one to query or set the scope of Eclipse
for the purposes of resolving key assignments to commands, and to register
actions to handle specific commands. See the org.eclipse.ui.commands
extension point for details.
A participating workbench part is responsible to register all its actions with this service. The part is also responsible to set the current scope.
This interface is not intended to be implemented or extended by clients.
Method Summary | |
void |
enable(boolean enable)
Deprecated. |
String |
getActiveAcceleratorConfigurationId()
Deprecated. |
String |
getActiveAcceleratorScopeId()
Deprecated. |
String[] |
getScopes()
Returns the active accelerator scope ids. |
boolean |
processKey(KeyEvent event)
Deprecated. |
void |
registerAction(IAction action)
Registers an action with the key binding service. |
void |
setActiveAcceleratorScopeId(String scopeId)
Deprecated. |
void |
setScopes(String[] scopes)
Sets the active accelerator scope ids. |
void |
unregisterAction(IAction action)
Unregisters an action with the key binding service. |
Method Detail |
public String[] getScopes()
public void setScopes(String[] scopes) throws IllegalArgumentException
ids
- the active accelerator scope ids.public void registerAction(IAction action) throws IllegalArgumentException
action
- the action to be registered with the key binding service.public void unregisterAction(IAction action) throws IllegalArgumentException
action
- the action to be unregistered with the key binding service.public String getActiveAcceleratorConfigurationId()
public String getActiveAcceleratorScopeId()
public void setActiveAcceleratorScopeId(String scopeId) throws IllegalArgumentException
scopeId
- the new accelerator scope idpublic boolean processKey(KeyEvent event)
event
- The key to be processedpublic void enable(boolean enable)
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |