Retrieving IEclipseContext without using DI or 3.x Workbench API [message #1228099] |
Mon, 06 January 2014 12:03 |
Jonas Helming Messages: 699 Registered: July 2009 |
Senior Member |
|
|
Hi,
I would like to access the IEclipseContext (any of them) without
dependency injection. More specific, I would like to use the
EPartService from a class, which itself is triggered by a part of the
framework, which should be independant of e4 or 3.x. However, I could
retrieve it starting from any IEclipseContext I get.
I am aware, that it is possible to retrieve an IEclipseContext using
getSite.getService() using the 3.x API. However, is someone aware of a
possibility to do this independantly? Haven't the Application context or
the OSGi context been registered as an OSGi service in the past?
Thx
Jonas
|
|
|
Powered by
FUDForum. Page generated in 0.02385 seconds