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
nameBuffer
							.append(parameterization.getParameter().getName());
					nameBuffer.append(": "); 
					try {
						nameBuffer.append(parameterization.getValueName());
					} catch (final ParameterValuesException e) {
						/*
						 * Just let it go for now. If someone complains we can
						 * add more info later.
						 */
					}
					
					if (i + 1 < parameterizationCount) {
						nameBuffer.append(", "); 
					}
				}
				nameBuffer.append(')');
			}
			name = nameBuffer.toString();
		}
		return name;
	}
	/**
	 * Returns the parameter map, as can be used to construct an
	 * <code>ExecutionEvent</code>.
	 * 
	 * @return The map of parameter ids (<code>String</code>) to parameter
	 *         values (<code>String</code>). This map is never
	 *         <code>null</code>, but may be empty.
	 */