Bug 327592 Remove weird context setting of ctxt.set(IEclipseContext.class.getName(), ctxt)
Getting is not so bad but setting is pretty weird. This should not be necessary.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java
try {
			if (!checkInstanceLocation(instanceLocation, shell))
				return EXIT_OK;
			IEclipseContext workbenchContext = workbench.getContext();
			workbenchContext.set(Display.class, display);
			
			workbench.createAndRunUI(workbench.getApplication());
			
			if (lcManager != null) {
				ContextInjectionFactory.invoke(lcManager, PreSave.class,
						workbenchContext, null);
			}
			saveModel();
			workbench.close();
			return EXIT_OK;
		} finally {
			if (display != null)
				display.dispose();
			if (instanceLocation != null)
				instanceLocation.release();
		}
	}
	public void saveModel() {
		try {
			handler.save();
		} catch (IOException e) {
			
			e.printStackTrace();
		}
	}