Bug 277513 [Compatibility] Remove WorkbenchFactory
The factory is currently used to call the e4 Workbench constructor, but it adds another layer of indirection that we don't need at this point in time. PW
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
if (factory != null) {
				factory.init(r, context, f);
				r.addPartFactory(factory);
			}
		}
	}
	private void createGUI(MWindow wbw) {
		if (renderer == null) {
			renderer = new PartRenderer(contributionFactory, globalContext);
			initializeRenderer(registry, renderer, globalContext,
					contributionFactory);
		}
		renderer.createGui(wbw);
		appWindow = wbw.getWidget();
	}
	public void close() {
		if (appWindow != null)
			windowHandler.dispose(appWindow);
	}
	
	
	
	public void closeWindow(MWorkbenchWindow workbenchWindow) {
		windowHandler.close(workbenchWindow.getWidget());
	}
	public Object getWindow() {
		return appWindow;
	}
}