Bug 263544 [context] Add dependency injection context -> user object
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
}
		display.update();
		if (workbenchData != null && saveAndRestore && workbench != null) {
			try {
				System.err.println("Saving workbench: " 
						+ ((EObject) workbench).eResource().getURI());
				
				
				
				
				
				((EObject) workbench).eResource().save(null);
			} catch (IOException e) {
				
				e.printStackTrace();
			}
		}
		return rv;
	}
	private void createGUI(MWorkbenchWindow workbenchWindow) {
		if (renderer == null) {
			renderer = new PartRenderer((IContributionFactory) this,
					globalContext);
			
			
			
			IConfigurationElement[] factories = registry
					.getConfigurationElementsFor("org.eclipse.e4.workbench.partfactory");