Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Retrieving IEclipseContext without using DI or 3.x Workbench API
Retrieving IEclipseContext without using DI or 3.x Workbench API [message #1228099] Mon, 06 January 2014 12:03
Jonas Helming is currently offline Jonas HelmingFriend
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
Previous Topic:getSite() returns null
Next Topic:Missing esteemed features of "E3" workbench inside E4
Goto Forum:
  


Current Time: Tue Apr 23 10:49:47 GMT 2024

Powered by FUDForum. Page generated in 0.02385 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top