|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A service that is capable of nesting other services within itself. This allows lower level components to query for a service provider in a hierarchical fashion, and for information to be resolved in a hierarchical manner
This interface is not intended to be implemented or extended by clients.
| Method Summary | |
boolean |
activateKeyBindingService(IWorkbenchSite nestedSite)
Marks the service associated with nestedSite as active if
one exists. |
IKeyBindingService |
getKeyBindingService(IWorkbenchSite nestedSite)
An accessor for the nested key binding service associated with a particular site. |
boolean |
removeKeyBindingService(IWorkbenchSite nestedSite)
Removes a nested key binding service from this key binding service. |
| Methods inherited from interface org.eclipse.ui.IKeyBindingService |
enable, getActiveAcceleratorConfigurationId, getActiveAcceleratorScopeId, getScopes, processKey, registerAction, setActiveAcceleratorScopeId, setScopes, unregisterAction |
| Method Detail |
public boolean activateKeyBindingService(IWorkbenchSite nestedSite)
nestedSite as active if
one exists. If there is no service associated, then nothing changes.
Calling this method with null forces deactivation of the
current service.nestedSite - The site whose service should be activated;
null if the current service should be deactivated.true if a service is activated (or deactivated, in
the case of a null parameter); false if
nothing changed.public IKeyBindingService getKeyBindingService(IWorkbenchSite nestedSite)
nestedSite already, then a new one should be constructed.nestedSite - The site for which the service should be found;
should not be null.public boolean removeKeyBindingService(IWorkbenchSite nestedSite)
nestedSite with
which it is associated.nestedSite - The site from which to remove the nested service.
This site must not be null.true if the service existed and could be removed;
false otherwise.
|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||