Bug 299554 Application.xmi without Window
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/PartRenderingEngine.java
*            the IContributionFactory already provided to <code>r</code>
	 */
	@PostConstruct
	private void initialize(IEclipseContext context) {
		this.appContext = context;
		IExtensionRegistry registry = (IExtensionRegistry) context
				.get(IExtensionRegistry.class.getName());
		IConfigurationElement[] factories = registry
				.getConfigurationElementsFor("org.eclipse.e4.workbench.rendererfactory"); 
		for (int i = 0; i < factories.length; i++) {
			String id = factories[i].getAttribute("id");
			if (!curFactoryId.equals(id))
				continue;
			IRendererFactory factory = null;
			try {
				factory = (IRendererFactory) factories[i]
						.createExecutableExtension("class"); 
			} catch (CoreException e) {
				e.printStackTrace();
			}
			if (factory != null) {
				factory.init(context);
				curFactory = factory;
			}
		}
		
		context.set(IPresentationEngine.class.getName(), this);
		
		IEventBroker eventBroker = (IEventBroker) context
				.get(IEventBroker.class.getName());