Bug 261852 [context] Separate code into API / SPI / internal
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
private final PackageAdmin packageAdmin;
	private ResourceSetImpl resourceSet;
	private ModelService modelService;
	public Context getContext() {
		return globalContext;
	}
	private ILegacyHook legacyHook;
	
	
	private PartRenderer renderer;
	private int rv;
	private Map<String,Object> languages;
	private ExceptionHandler exceptionHandler;
	private Context globalContext;
	public Workbench(Location instanceLocation, IExtensionRegistry registry,
			PackageAdmin packageAdmin, URI workbenchXmiURI) {
		exceptionHandler = new ExceptionHandler();
		this.registry = registry;
		this.packageAdmin = packageAdmin;
		workbenchData = null;
		try {
			workbenchData = new File(
					new File(instanceLocation.getURL().toURI()),
					".metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi");
		} catch (URISyntaxException e1) {
			
			e1.printStackTrace();
		}
		resourceSet = new ResourceSetImpl();