Bug 126414 [Commands] handlers: Provide help context ids
For commands and handlers to replace actions, they need to be capable of providing help context identifiers. For an example, see OpenResourceHandler in org.eclipse.ui.ide. This help context id will need to be definable through XML and through code.
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java
final boolean parametersChanged = parameters != null;
		parameters = null;
		final boolean returnTypeChanged = returnType != null;
		returnType = null;
		final String[] stateIds = getStateIds();
		if (stateIds != null) {
			if (handler instanceof IObjectWithState) {
				final IObjectWithState handlerWithState = (IObjectWithState) handler;
				for (int i = 0; i < stateIds.length; i++) {
					final String stateId = stateIds[i];
					handlerWithState.removeState(stateId);
					final State state = getState(stateId);
					removeState(stateId);
					state.dispose();
				}
			} else {
				for (int i = 0; i < stateIds.length; i++) {
					final String stateId = stateIds[i];
					final State state = getState(stateId);
					removeState(stateId);
					state.dispose();
				}
			}
		}
		fireCommandChanged(new CommandEvent(this, categoryChanged,
				definedChanged, descriptionChanged, false, nameChanged,
				parametersChanged, returnTypeChanged));
	}
}