Bug 263544 [context] Add dependency injection context -> user object
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
.createMPerspective();
			wbw.getChildren().add(perspective);
			perspective.getChildren().addAll(
					app.getWindows().get(0).getChildren());
			processPartContributions(resource, wbw);
		}
		wb.getWindows().add(wbw);
	}
	private void processLanguages() {
		languages = new HashMap<String, Object>();
		IExtensionRegistry registry = InternalPlatform.getDefault()
				.getRegistry();
		String extId = "org.eclipse.e4.languages"; 
		IConfigurationElement[] languageElements = registry
				.getConfigurationElementsFor(extId);
		for (int i = 0; i < languageElements.length; i++) {
			IConfigurationElement languageElement = languageElements[i];
			try {
				languages
						.put(
								languageElement.getAttribute("name"), 
								languageElement
										.createExecutableExtension("contributionFactory")); 
			} catch (InvalidRegistryObjectException e) {
				
				e.printStackTrace();
			} catch (CoreException e) {
				
				e.printStackTrace();
			}