[jbosstools-issues] [JBoss JIRA] (JBIDE-22691) Allow extensions to be injected with Eclipse services
John Steele (JIRA)
issues at jboss.org
Thu Jul 7 11:15:01 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-22691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262800#comment-13262800 ]
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)
More information about the jbosstools-issues
mailing list