Bug 277513 [Compatibility] Remove WorkbenchFactory
The factory is currently used to call the e4 Workbench constructor, but it adds another layer of indirection that we don't need at this point in time. PW
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/RunApplicationTest.java
workbench = workbenchFactory.create(
											initialWorkbenchDefinitionInstance,
											applicationContext,
											new WorkbenchWindowHandler());
									workbench.run();
								} catch (ThreadDeath th) {
									throw th;
								} catch (Exception ex) {
									ex.printStackTrace();
								} catch (Error err) {
									err.printStackTrace();
								}
							}
						});
			}
		};
		new Thread(app).start();
	}
	public void testSampleLookup() throws Exception {
		launchApplication("org.eclipse.e4.ui.tests/xmi/CommandLookup.xmi");
		Thread.sleep(1000);
		display.syncExec(new Runnable() {
			public void run() {
				System.err.println(applicationContext
						.get(IContextConstants.DEBUG_STRING));
			}
		});
	}
}