Bug 263090 [legacy] Load the model with commands and handlers
The legacy fragment should be able to load the commands model with commands and the handlers model with handlers. PW
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/MWindowTest.java
private IEclipseContext getAppContext() {
		if (appContext == null) {
			IEclipseContext serviceContext = EclipseContextFactory
					.createServiceContext(Activator.getDefault().getBundle()
							.getBundleContext());
			appContext = Workbench.createContext(serviceContext,
					RegistryFactory.getRegistry(), null);
			MApplication<MWindow<?>> app = ApplicationFactory.eINSTANCE
					.createMApplication();
			appContext.set(MApplication.class.getName(), app);
		}
		return appContext;
	}
	private IContributionFactory getCFactory() {
		if (contributionFactory == null) {
			contributionFactory = new ReflectionContributionFactory(
					RegistryFactory.getRegistry());
		}
		return contributionFactory;
	}
	private Display getDisplay() {
		display = Display.getCurrent();
		if (display == null) {
			display = new Display();
		}
		return display;
	}
	protected void processEventLoop() {
		if (display != null) {
			while (display.readAndDispatch())