public void updateFrom(@NotNull HgUpdateConfigurationSettings updateConfiguration) {
    myPullCheckBox.setSelected(updateConfiguration.shouldPull());
    HgUpdateType updateType = updateConfiguration.getUpdateType();
    JRadioButton button = switch (updateType) {
      case ONLY_UPDATE -> myOnlyUpdateButton;
      case MERGE -> myMergeRadioButton;
      case REBASE -> myRebaseRadioButton;
    };
    button.setSelected(true);
    myCommitAfterMergeCheckBox.setSelected(updateConfiguration.shouldCommitAfterMerge());
  }
public void updateFrom(@NotNull HgUpdateConfigurationSettings updateConfiguration)