Uses of Interface
org.eclipse.ui.services.IServiceLocator
-
Packages that use IServiceLocator Package Description 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 bindingorg.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 Modifier and Type Method Description IServiceLocator
CompareEditorInput. getServiceLocator()
IServiceLocator
ICompareContainer. getServiceLocator()
Return the service locator for the container ornull
if the container does not have one. -
Uses of IServiceLocator in org.eclipse.debug.ui.actions
Methods in org.eclipse.debug.ui.actions with parameters of type IServiceLocator Modifier and Type Method Description void
BreakpointTypesContribution. initialize(IServiceLocator serviceLocator)
-
Uses of IServiceLocator in org.eclipse.ui
Subinterfaces of IServiceLocator in org.eclipse.ui Modifier and Type Interface Description 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 Modifier and Type Method Description 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 Modifier and Type Method Description void
AbstractSourceProvider. initialize(IServiceLocator locator)
This method is called when the source provider is instantiated byorg.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 Description SubActionBars(IActionBars parent, IServiceLocator serviceLocator)
Constructs a new instance ofSubActionBars
.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 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 Modifier and Type Method Description 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 Modifier and Type Interface Description 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 Modifier and Type Field Description IServiceLocator
CommandContributionItemParameter. serviceLocator
a service locator that is most appropriate for this contribution.Methods in org.eclipse.ui.menus that return IServiceLocator Modifier and Type Method Description 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 Modifier and Type Method Description 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 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 theCommandContributionItemParameter
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 Modifier and Type Interface Description interface
IPageSite
The primary interface between a page and the outside world.Classes in org.eclipse.ui.part that implement IServiceLocator Modifier and Type Class Description class
MultiPageEditorSite
Site for a nested editor within a multi-page editor.class
PageSite
This implementation ofIPageSite
provides a site for a page within aPageBookView
.Methods in org.eclipse.ui.part that return IServiceLocator Modifier and Type Method Description 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 Modifier and Type Method Description 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.
-