code: public static void associateCommand(String commandName, BaseUIComponent component, IAction action) {
          getCommand(commandName, true).bind(component, action);
      }
docs: Associates a UI component with a command and action.
  
  @param commandName Name of the command.
  @param component Component to be associated.
  @param action Action to be executed when the command is invoked.