private void handleProjectOverrideStateChanged() {
    if (myProjectPathCheckbox.isSelected()) {
      mySavedPath = getCurrentPath();
    }
    else if (!Objects.equals(getCurrentPath(), mySavedPath)) {

      switch (Messages.showYesNoCancelDialog(myMainPanel,
                                             VcsBundle.message("executable.project.override.reset.message"),
                                             VcsBundle.message("executable.project.override.reset.title"),
                                             VcsBundle.message("executable.project.override.reset.globalize"),
                                             VcsBundle.message("executable.project.override.reset.revert"),
                                             Messages.getCancelButton(),
                                             null)) {
        case Messages.NO -> myPathSelector.setText(mySavedPath);
        case Messages.CANCEL -> myProjectPathCheckbox.setSelected(true);
      }
    }
  }
private void handleProjectOverrideStateChanged()