IServiceLocatorwhich can be nested.
public interface INestableKeyBindingService extends IKeyBindingService
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.
|Modifier and Type||Method and Description|
Marks the service associated with
An accessor for the nested key binding service associated with a particular site.
Removes a nested key binding service from this key binding service.
boolean activateKeyBindingService(IWorkbenchSite nestedSite)
nestedSiteas active if one exists. If there is no service associated, then nothing changes. Calling this method with
nullforces deactivation of the current service.
nestedSite- The site whose service should be activated;
nullif the current service should be deactivated.
trueif a service is activated (or deactivated, in the case of a
falseif nothing changed.
IKeyBindingService getKeyBindingService(IWorkbenchSite nestedSite)
nestedSitealready, then a new one should be constructed.
nestedSite- The site for which the service should be found; should not be
boolean removeKeyBindingService(IWorkbenchSite nestedSite)
nestedSitewith which it is associated.
nestedSite- The site from which to remove the nested service. This site must not be
trueif the service existed and could be removed;
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.