Bug 303682 [Compatibility] Create the legacy handler service
bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java
*/
	private void addParmsToContext(ParameterizedCommand command) {
		final Map parms = command.getParameterMap();
		Iterator i = parms.entrySet().iterator();
		while (i.hasNext()) {
			Map.Entry entry = (Map.Entry) i.next();
			context.set((String) entry.getKey(), entry.getValue());
		}
		context.set(PARM_MAP, parms);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @seeorg.eclipse.e4.core.commands.EHandlerService#canExecute(org.eclipse.core.commands.
	 * ParameterizedCommand)
	 */
	public boolean canExecute(ParameterizedCommand command) {
		String commandId = command.getId();
		String handlerId = H_ID + commandId;
		Object handler = context.get(HANDLER_LOOKUP, lookupHandler(handlerId));
		if (handler == null) {
			return false;
		}
		addParmsToContext(command);
		Boolean result;
		try {
			result = ((Boolean) ContextInjectionFactory.invoke(handler, METHOD_CAN_EXECUTE,
					context, Boolean.TRUE));
		} catch (InvocationTargetException e) {
			Logger logger = (Logger) context.get(Logger.class.getName());