## Uses of Interface
org.eclipse.ui.services.IServiceLocator

Packages that use IServiceLocator
org.eclipse.compare: Provides support for performing structural and textual compare operations on arbitrary data and displaying the results.
org.eclipse.debug.ui.actions: Provides a set of actions related to running and debugging applications.
org.eclipse.ui: Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.
org.eclipse.ui.actions: Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface.
org.eclipse.ui.databinding: APIs for Workbench properties and observables for use with data binding Package Specification This package provides APIs that provide access to properties of Workbench objects for use with the data binding framework.
org.eclipse.ui.intro: Application programming interfaces for interaction with and extension of the product introduction parts.
org.eclipse.ui.menus: Provides the public API and default implementation for contributing menu and toolbars to the menu service.
org.eclipse.ui.part: Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.
org.eclipse.ui.services: Classes for service support.

### Uses of IServiceLocator in org.eclipse.compare

Methods in org.eclipse.compare that return IServiceLocator
`IServiceLocator` ICompareContainer.`getServiceLocator()` Return the service locator for the container or `null` if the container does not have one.
`IServiceLocator` CompareEditorInput.`getServiceLocator()`

### Uses of IServiceLocator in org.eclipse.debug.ui.actions

Methods in org.eclipse.debug.ui.actions with parameters of type IServiceLocator
`void` BreakpointTypesContribution.`initialize(IServiceLocator serviceLocator)`

### Uses of IServiceLocator in org.eclipse.ui

Subinterfaces of IServiceLocator in org.eclipse.ui
`interface` `IEditorSite` The primary interface between an editor part and the workbench.
`interface` `IViewSite` The primary interface between a view part and the workbench.
`interface` `IWorkbench` A workbench is the root object for the Eclipse Platform user interface.
`interface` `IWorkbenchPartSite` The primary interface between a workbench part and the workbench.
`interface` `IWorkbenchSite` The common interface between the workbench and its parts, including pages within parts.
`interface` `IWorkbenchWindow` A workbench window is a top level window in a workbench.

Methods in org.eclipse.ui that return IServiceLocator
`IServiceLocator` IActionBars.`getServiceLocator()` Returns the service locator for these action bars.
`IServiceLocator` SubActionBars.`getServiceLocator()` Answer the service locator for this action bar.

Methods in org.eclipse.ui with parameters of type IServiceLocator
`void` AbstractSourceProvider.`initialize(IServiceLocator locator)` This method is called when the source provider is instantiated by `org.eclipse.ui.services`.
`protected void` SubActionBars.`setServiceLocator(IServiceLocator locator)` Sets the service locator for this action bar.

Constructors in org.eclipse.ui with parameters of type IServiceLocator
Constructor and Description
`SubActionBars(IActionBars parent, IServiceLocator serviceLocator)` Constructs a new instance of `SubActionBars`.
`SubActionBars2(IActionBars2 parent, IServiceLocator serviceLocator)` Constucts a sub action bars object using an IActionBars2 parent.

### Uses of IServiceLocator in org.eclipse.ui.actions

Constructors in org.eclipse.ui.actions with parameters of type IServiceLocator
Constructor and Description
`ContributedAction(IServiceLocator locator, IConfigurationElement element)` Create an action that can call a command.

### Uses of IServiceLocator in org.eclipse.ui.databinding

Methods in org.eclipse.ui.databinding with parameters of type IServiceLocator
`static <T> IObservableValue<T>` WorkbenchObservables.`observeAdaptedSingleSelection(IServiceLocator locator, Class<T> targetType)` Returns an observable value that tracks the post selection of a selection service obtained through the given service locator, and adapts the first element of that selection to the given target type.

### Uses of IServiceLocator in org.eclipse.ui.intro

Subinterfaces of IServiceLocator in org.eclipse.ui.intro
`interface` `IIntroSite` The primary interface between an intro part and the workbench.

### Uses of IServiceLocator in org.eclipse.ui.menus

Fields in org.eclipse.ui.menus declared as IServiceLocator
`IServiceLocator` CommandContributionItemParameter.`serviceLocator` a service locator that is most appropriate for this contribution.

Methods in org.eclipse.ui.menus that return IServiceLocator
`IServiceLocator` UIElement.`getServiceLocator()` Get the service locator scope in which this UI element resides.

Methods in org.eclipse.ui.menus with parameters of type IServiceLocator
`abstract void` AbstractContributionFactory.`createContributionItems(IServiceLocator serviceLocator, IContributionRoot additions)` This factory should create the IContributionItems that it wants to contribute, and add them to the additions list.
`void` IWorkbenchContribution.`initialize(IServiceLocator serviceLocator)` The service locator for this contribution.

Constructors in org.eclipse.ui.menus with parameters of type IServiceLocator
Constructor and Description
`CommandContributionItem(IServiceLocator serviceLocator, String id, String commandId, Map parameters, ImageDescriptor icon, ImageDescriptor disabledIcon, ImageDescriptor hoverIcon, String label, String mnemonic, String tooltip, int style)` Deprecated. create the `CommandContributionItemParameter`
`CommandContributionItemParameter(IServiceLocator serviceLocator, String id, String commandId, int style)` Create the parameter object.
`CommandContributionItemParameter(IServiceLocator serviceLocator, String id, String commandId, Map parameters, ImageDescriptor icon, ImageDescriptor disabledIcon, ImageDescriptor hoverIcon, String label, String mnemonic, String tooltip, int style, String helpContextId, boolean visibleEnabled)` Build the parameter object.
`UIElement(IServiceLocator serviceLocator)` Construct a new instance of this class keyed off of the provided service locator.

### Uses of IServiceLocator in org.eclipse.ui.part

Subinterfaces of IServiceLocator in org.eclipse.ui.part
`interface` `IPageSite` The primary interface between a page and the outside world.

Classes in org.eclipse.ui.part that implement IServiceLocator
`class` `MultiPageEditorSite` Site for a nested editor within a multi-page editor.
`class` `PageSite` This implementation of `IPageSite` provides a site for a page within a `PageBookView`.

Methods in org.eclipse.ui.part that return IServiceLocator
`protected IServiceLocator` MultiPageEditorPart.`getPageSite(int pageIndex)` Returns the service locator for the given page index.

### Uses of IServiceLocator in org.eclipse.ui.services

Methods in org.eclipse.ui.services with parameters of type IServiceLocator
`abstract Object` AbstractServiceFactory.`create(Class serviceInterface, IServiceLocator parentLocator, IServiceLocator locator)` When a service locator cannot find a service it will request one from the registry, which will call this factory create method.