Bug 279452 [Compatibility] Parameterized command mechanism support
Parameterized commands like showView need to be able to access their parameters (like the view ID) PW
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/HandlerTest.java
command.define("Help Command", null, category);
		command = cmdService.getCommand(HELP_COMMAND1_ID);
		command.define("Help 1 Command", null, category);
	}
	private IEclipseContext createGlobalContext() {
		IEclipseContext serviceContext = EclipseContextFactory
				.createServiceContext(Activator.getDefault().getBundle()
						.getBundleContext());
		
		IEclipseContext appContext = createContext(serviceContext,
				"globalContext");
		appContext.set(IContributionFactory.class.getName(), MWindowTest
				.getCFactory());
		appContext.set(CommandManager.class.getName(), new CommandManager());
		
		appContext.set(ECommandService.class.getName(),
				new ContextCommandService(appContext));
		appContext.set(EHandlerService.class.getName(),
				new HandlerContextFunction());
		return appContext;
	}
	private IEclipseContext createContext(IEclipseContext parentContext,
			String level) {
		IEclipseContext appContext = EclipseContextFactory.create(
				parentContext, UISchedulerStrategy.getInstance());
		appContext.set(IContextConstants.DEBUG_STRING, level);
		return appContext;
	}
}