* log the message, display a dialog, or ignore this exception
* entirely.
*/
final boolean executeCommand(final Binding binding, final Event trigger)
throws CommandException {
final ParameterizedCommand parameterizedCommand = binding
.getParameterizedCommand();
if (DEBUG) {
Tracing.printTrace("KEYS", //$NON-NLS-1$
"WorkbenchKeyboard.executeCommand(commandId = '" //$NON-NLS-1$
+ parameterizedCommand.getId() + "', parameters = " //$NON-NLS-1$
+ parameterizedCommand.getParameterMap() + ')');
}
// Reset the key binding state (close window, clear status line, etc.)
resetState(false);
// Dispatch to the handler.
final Command command = parameterizedCommand.getCommand();
final boolean commandDefined = command.isDefined();
final boolean commandHandled = command.isHandled();
final boolean commandEnabled = command.isEnabled();
if (DEBUG && DEBUG_VERBOSE) {