Bug 227087 [Commands] Nicer 'Show view' command label
20080415 With the change to use the parameterized 'Show view' command, the new command selection window (Alt + Shift + Q) contains multiple entries like: Show View (View: Package Explorer) Show View (View: Problems) Show View (View: Search) Could this be improved to Show View: Package Explorer
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java
final List combination = (List) expansionItr.next();
			if (combination == null) {
				combinations.add(new ParameterizedCommand(command, null));
			} else {
				while (combination.remove(null)) {
					
				}
				if (combination.isEmpty()) {
					combinations.add(new ParameterizedCommand(command, null));
				} else {
					final Parameterization[] parameterizations = (Parameterization[]) combination
							.toArray(new Parameterization[combination.size()]);
					combinations.add(new ParameterizedCommand(command,
							parameterizations));
				}
			}
		}
		return combinations;
	}
	/**
	 * Take a command and a map of parameter IDs to values, and generate the
	 * appropriate parameterized command.
	 * 
	 * @param command
	 *            The command object. Must not be <code>null</code>.
	 * @param parameters
	 *            A map of String parameter ids to objects. May be
	 *            <code>null</code>.
	 * @return the parameterized command, or <code>null</code> if it could not
	 *         be generated