| Summary: | [EclipseContext] revisit how services are looked-up and contributed | ||
|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Paul Webster <pwebster> |
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bokowski, emoffatt, john.arthorne, ob1.eclipse, remy.suen |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | stalebug | ||
|
Description
Paul Webster
We are adding most of our services 3 ways. 1) By simply adding them to the context, like in org.eclipse.e4.ui.internal.workbench.E4Workbench.createWorkbenchContext(IEclipseContext, IExtensionRegistry, IExceptionHandler, IContributionFactory) (not extensible). 2) we feed in an OSGi service. 3) we provide a creation function using #1 or #2, which acts like a factory to provide real services when requested. PW I'm currently working on lifecycle for commands/contexts/keybinding services in bug 329646. 1) An addon to make the service and support managers available in the context belonging to MApplication 2) An addon to process the model and add event handlers for model changes 3) For the compatibility layer only, a Model processor to push relevant extension point information into the model PW This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. This is a mass change to close all e4 bugs marked with "stalebug" whiteboard. If this bug is still valid, please reopen and remove the "stalebug" keyword. |