Bug 187812 [KeyBindings] IBindingService.getActiveBindingsFor(ParameterizedCommand) does not work
I20070517-1700. IBindingService.getActiveBindingsFor(ParameterizedCommand) does not work i.e. returns an empty array. Test Case: 1. in org.eclipse.jdt.internal.ui.preferences.CodeAssistAdvancedConfigurationBlock change getKeyboardShortcut(...) to use getActiveBindingsFor 2. start target 3. define a key binding for e.g. the 4. go to Java > Editor > Content Assist > Advanced observe: the key binding is not shown
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java
* 
	 * @param trigger
	 *            The object that triggered the execution; may be
	 *            <code>null</code>.
	 * @param applicationContext
	 *            The state of the application at the time the execution was
	 *            triggered; may be <code>null</code>.
	 * @return The result of the execution; may be <code>null</code>.
	 * @throws ExecutionException
	 *             If the handler has problems executing this command.
	 * @throws NotDefinedException
	 *             If the command you are trying to execute is not defined.
	 * @throws NotEnabledException
	 *             If the command you are trying to execute is not enabled.
	 * @throws NotHandledException
	 *             If there is no handler.
	 * @since 3.2
	 */
	public final Object executeWithChecks(final Object trigger,
			final Object applicationContext) throws ExecutionException,
			NotDefinedException, NotEnabledException, NotHandledException {
		return command.executeWithChecks(new ExecutionEvent(command,
				getParameterMap(), trigger, applicationContext));
	}
	/**
	 * Returns the base command. It is possible for more than one parameterized
	 * command to have the same identifier.
	 * 
	 * @return The command; never <code>null</code>, but may be undefined.
	 */