Jump to: navigation, search

Difference between revisions of "Eclipse4/RCP/EAS/List of All Provided Services"

< Eclipse4‎ | RCP‎ | EAS
(List of services as compiled by Eric)
 
m
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This page provides a thorough, thought perhaps not exhaustive, listing of the services and other data values that can be obtained from a [[Eclipse4/RCP/Contexts | context]].
+
This page provides a listing of the services and other data values that can be injected or obtained from a [[Eclipse4/RCP/Contexts | context]].
  
 
== Application Context ==
 
== Application Context ==
Line 22: Line 22:
 
* org.eclipse.core.runtime.Platform  
 
* org.eclipse.core.runtime.Platform  
 
* org.eclipse.e4.core.commands.ECommandService  
 
* org.eclipse.e4.core.commands.ECommandService  
* org.eclipse.e4.core.commands.EHandlerService  
+
* org.eclipse.e4.core.commands.EHandlerService
 
* org.eclipse.e4.core.services.adapter.Adapter  
 
* org.eclipse.e4.core.services.adapter.Adapter  
 
* org.eclipse.e4.core.services.events.IEventBroker  
 
* org.eclipse.e4.core.services.events.IEventBroker  
* org.eclipse.e4.core.services.log.Logge
+
* org.eclipse.e4.core.services.log.Logger
 
* org.eclipse.e4.core.services.translation.TranslationService  
 
* org.eclipse.e4.core.services.translation.TranslationService  
 
* org.eclipse.e4.ui.css.swt.theme.IThemeEngine  
 
* org.eclipse.e4.ui.css.swt.theme.IThemeEngine  
Line 35: Line 35:
 
* org.eclipse.jface.preference.PreferenceManager  
 
* org.eclipse.jface.preference.PreferenceManager  
 
* org.eclipse.ui.ISharedImages  
 
* org.eclipse.ui.ISharedImages  
* org.eclipse.ui.progress.IProgressService  
+
* org.eclipse.ui.progress.IProgressService
  
 
=== Runtime Data ===
 
=== Runtime Data ===
  
* activePart (IServiceCOnstants#ACTIVE_PART)  
+
* activePart (IServiceConstants#ACTIVE_PART)  
 
* org.eclipse.e4.core.locale (TranslationService#LOCALE)  
 
* org.eclipse.e4.core.locale (TranslationService#LOCALE)  
 
* org.eclipse.e4.ui.model.application.MApplication  
 
* org.eclipse.e4.ui.model.application.MApplication  

Revision as of 17:46, 15 February 2012

This page provides a listing of the services and other data values that can be injected or obtained from a context.

Application Context

Application Parameters

  • applicationCSS (E4Workbench#CSS_URI_ARG)
  • applicationCSSResources (E4Workbench#CSS_RESOURCE_URI_ARG)
  • applicationXMI (E4Workbench#XMI_URI_ARG)
  • clearPersistedState (E4Workbench#CLEAR_PERSISTED_STATE)
  • deltaRestore (E4Workbench#DELTA_RESTORE)
  • cssTheme (E4Application#THEME_ID)
  • initialWorkbenchModelURI (E4Workbench#INITIAL_WORKBENCH_MODEL_URI)
  • instanceLocation (E4Workbench#INSTANCE_LOCATION)
  • persistState (E4Workbench#PERSIST_STATE)

Services

  • org.eclipse.core.databinding.observable.Realm
  • org.eclipse.core.runtime.dynamichelpers.IExtensionTracker
  • org.eclipse.core.runtime.IExtensionRegistry
  • org.eclipse.core.runtime.Platform
  • org.eclipse.e4.core.commands.ECommandService
  • org.eclipse.e4.core.commands.EHandlerService
  • org.eclipse.e4.core.services.adapter.Adapter
  • org.eclipse.e4.core.services.events.IEventBroker
  • org.eclipse.e4.core.services.log.Logger
  • org.eclipse.e4.core.services.translation.TranslationService
  • org.eclipse.e4.ui.css.swt.theme.IThemeEngine
  • org.eclipse.e4.ui.services.IStylingEngine
  • org.eclipse.e4.ui.workbench.IPresentationEngine
  • org.eclipse.e4.ui.workbench.IResourceUtilities
  • org.eclipse.e4.ui.workbench.modeling.EModelService
  • org.eclipse.equinox.app.IApplicationContext
  • org.eclipse.jface.preference.PreferenceManager
  • org.eclipse.ui.ISharedImages
  • org.eclipse.ui.progress.IProgressService

Runtime Data

  • activePart (IServiceConstants#ACTIVE_PART)
  • org.eclipse.e4.core.locale (TranslationService#LOCALE)
  • org.eclipse.e4.ui.model.application.MApplication
  • selection (ESelectionService#SELECTION)

Top Level Window Context

Model Info

When a context is created for any MContext element all of its implemented interfaces are added to its context

  • org.eclipse.e4.ui.model.application.commands.MBindings
  • org.eclipse.e4.ui.model.application.commands.MHandlerContainer
  • org.eclipse.e4.ui.model.application.MApplicationElement
  • org.eclipse.e4.ui.model.application.ui.basic.MTrimmedWindow
  • org.eclipse.e4.ui.model.application.ui.basic.MWindow
  • org.eclipse.e4.ui.model.application.ui.MContext
  • org.eclipse.e4.ui.model.application.ui.MElementContainer
  • org.eclipse.e4.ui.model.application.ui.MUIElement
  • org.eclipse.e4.ui.model.application.ui.MUILabel

Services

  • org.eclipse.e4.ui.workbench.modeling.ESelectionService
  • org.eclipse.e4.ui.workbench.modeling.ISaveHandler
  • org.eclipse.e4.ui.workbench.modeling.EPartService

Runtime Data

  • activePart (IServiceCOnstants#ACTIVE_PART)
  • selection (ESelectionService#SELECTION)

Part Context

Model Info

  • org.eclipse.e4.ui.model.application.commands.MBindings
  • org.eclipse.e4.ui.model.application.commands.MHandlerContainer
  • org.eclipse.e4.ui.model.application.MApplicationElement
  • org.eclipse.e4.ui.model.application.MContribution
  • org.eclipse.e4.ui.model.application.ui.basic.MPart
  • org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement
  • org.eclipse.e4.ui.model.application.ui.basic.MStackElement
  • org.eclipse.e4.ui.model.application.ui.basic.MWindowElement
  • org.eclipse.e4.ui.model.application.ui.MContext
  • org.eclipse.e4.ui.model.application.ui.MDirtyable
  • org.eclipse.e4.ui.model.application.ui.MUIElement
  • org.eclipse.e4.ui.model.application.ui.MUILabel

Services

  • org.eclipse.e4.ui.workbench.modeling.EPartService