if you write a headless application what makes you stop pushing the root context to the OSGi-Registry? BTW if you know the bundle context who created the service context you can retrieve it through EclipseContexFactory.getServiceContext()!
Tom On 23.01.14 12:16, Wim Jongman wrote: > > What do you mean you're headless? You're not running a workbench at > all? i.e. You have your own IApplication, and you aren't calling > PlatformUI.createAndRunWorkbench(*)? > > > > Well, it is not my current use case... But yes. I was thinking about > headless applications (e.g. all Eclipse RT related stuff) with the model > and the DI framework. So it would be nice if I could get a hold of these > services from outside of the org.eclipse.ui realm. > > Cheers, > > Wim > > > > _______________________________________________ > e4-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/e4-dev > _______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
