[
https://issues.jboss.org/browse/JBIDE-22691?page=com.atlassian.jira.plugi...
]
John Steele commented on JBIDE-22691:
-------------------------------------
Extensions need access to both Eclipse provided services (OSGi services, workbench
services, etc) as well as user defined services (fragments, Guice, etc). Accessing shared
references in a static manner is not always feasible or the best approach.
Example: I have an launch delegate (registered as an extension), and I need a reference to
the shared service responsible for executing the build. This shared service could either
be a Singleton registered in a Guice module somewhere, or it could be a service located
somewhere in a particular eclipse context - PlatformUI.getWorkbench().getService()
doesn't cut it.
Allow extensions to be injected with Eclipse services
-----------------------------------------------------
Key: JBIDE-22691
URL:
https://issues.jboss.org/browse/JBIDE-22691
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: common/jst/core
Affects Versions: 4.4.1.AM1
Reporter: John Steele
Fix For: 4.4.x
We need a way to share services with extensions.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)