Community
Participate
Working Groups
Lookup (read inject via DS) implementations of IRendererFactory via the OSGi service registry instead of registering the factory (statically) via a product extension. This providers higher flexibility especially WRT which bundle provides the IRendererFactory. Additionally a renderer factory can be replaced at runtime.
A few notes (incomplete) from a quick glance at the code: - Custom RendererFactory gets created via ContextInjectionFactory.make(...) with the context of the Workbench => Might be possible to override existing behavior by using an ExtendedObjectSupplier - org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initialize(IEclipseContext) creates custom RendererFactory - Most code passes a factoryURI around :-( - org.eclipse.equinox.app.IApplicationContext.getBrandingProperty(String) with the key org.eclipse.e4.ui.internal.workbench.E4Workbench.RENDERER_FACTORY_URI returns the "bundleclass" property set in the application's plugin.xml