Bug 277676 [UI] The workbench should create the contexts
The workbench should create contexts for the model elements, MApplication and MParts (windows, sashes, contributed parts, etc). This is not really the responsibility of the renderers. PW
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
private ResourceSetImpl resourceSet;
	public IEclipseContext getContext() {
		return globalContext;
	}
	
	private PartRenderer renderer;
	private int rv;
	private ExceptionHandler exceptionHandler;
	private IEclipseContext globalContext;
	private ReflectionContributionFactory contributionFactory;
	public Workbench(Location instanceLocation, IExtensionRegistry registry,
			PackageAdmin packageAdmin, IEclipseContext applicationContext,
			IWorkbenchWindowHandler windowHandler) {
		this.windowHandler = windowHandler;
		exceptionHandler = new ExceptionHandler();
		this.registry = registry;
		try {
			workbenchData = new File(instanceLocation.getURL().toURI());
		} catch (URISyntaxException e) {
			throw new RuntimeException(e);
		}
		workbenchData = new File(workbenchData, ".metadata"); 
		workbenchData = new File(workbenchData, ".plugins"); 
		workbenchData = new File(workbenchData, "org.eclipse.e4.workbench"); 
		workbenchData = new File(workbenchData, "workbench.xmi"); 
		contributionFactory = new ReflectionContributionFactory(registry);
		resourceSet = new ResourceSetImpl();