Community
Participate
Working Groups
We should have means to inject View Parts, Editor Parts, and Workbench Contributions. We would need an annotation to indicate that these classes can be injected. We cannot inject such objects by default as they may already self-inject using another mechanism, such as Guice. @org.eclipse.e4.di.annotations.Injectable? I see a couple of possible solutions: 1. Provide some hooks in the Extension Registry to allow some processing an object created by the registry. For example, IConfigurationElement#createExecutableExtension(String attribute, IObjectProcessor processor); 2. Hook in injection in the right places, CompatbilityView, CompatibilityEditor, etc.
New Gerrit change created: https://git.eclipse.org/r/82440
New Gerrit change created: https://git.eclipse.org/r/82457
I suggest to use this bug for views and have another one for editors.
Gerrit change https://git.eclipse.org/r/82440 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=93a5bae6eadbf056973388f4ae384b172c0aa531
New Gerrit change created: https://git.eclipse.org/r/83287
(In reply to Eclipse Genie from comment #5) > New Gerrit change created: https://git.eclipse.org/r/83287 This fixes compile error in the workspace
Gerrit change https://git.eclipse.org/r/83287 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c89668884a8ef22a8a372abfe6a8b2e8dd5203f3
New Gerrit change created: https://git.eclipse.org/r/83908
Gerrit change https://git.eclipse.org/r/83908 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=bed5c1efb078b43069c594587abde72309a8e4d6