Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] API and package structure

This is a great list — I had no idea half of the services were available.  One missing item and a few typos:

On 11-Feb-2011, at 2:22 PM, Eric Moffatt wrote:
Injection Annotations:

@Inject
@Optional
@Named
@PostConstruct
@PreDestroy

E4 Specific  injection:

@CanExecute
@Execute
@Focus
@Persist

Missing @Active.

E4 Application Context:
[...]
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.Logge

Typo: Logge*r*

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)

Typo: IServiceC*o*nstants

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

Missing IServiceConstants.ACTIVE_SHELL.  It's required as otherwise a new Shell is created.

Also missing ACTIVE_SELECTION, but that's legacy and should no longer be required with the ESelectionService.


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)

Typo: IServiceC*o*nstants

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

Onwards,
Eric


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top