Bug 294739 [EAS] need service for reporting errors and warnings to the user (in a dialog, or through logging)
Rationale: Having them separated is quite risky, because it introduces artificial division, in which errors are handled. Probably UI plug-ins will use IStatusHandler and Logger, while core plug-ins will just log. How can we notify the user that something went completely wrong in headless plug-in? We need to create a bridge, so actually merge those two frameworks. On the other hand, why should we pass the same problem to IStatusHandler & to Logger? Are there any Statuses which should be shown to the user (and interrupt his work) but should not be logged?
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/PartRenderingEngine.java
try {
					KeyBindingDispatcher dispatcher = (KeyBindingDispatcher) ContextInjectionFactory
							.make(KeyBindingDispatcher.class, appContext);
					appContext.set(KeyBindingDispatcher.class.getName(),
							dispatcher);
					org.eclipse.swt.widgets.Listener listener = dispatcher
							.getKeyDownFilter();
					display.addFilter(SWT.KeyDown, listener);
					display.addFilter(SWT.Traverse, listener);
				} catch (InvocationTargetException e) {
					Logger logger = (Logger) appContext.get(Logger.class
							.getName());
					if (logger != null) {
						logger.error(e);
					}
				} catch (InstantiationException e) {
					Logger logger = (Logger) appContext.get(Logger.class
							.getName());
					if (logger != null) {
						logger.error(e);
					}
				}
				
				
				
				
				testShell = null;
				theApp = null;
				boolean spinOnce = true;