code: public static void dissociateAll(BaseUIComponent component) {
          for (Command command : CommandRegistry.getInstance()) {
              command.unbind(component);
          }
      }
docs: Removes all command bindings for a component.
  
  @param component The component.