@Override
  public PopupStep<?> onChosen(JsonSchemaInfo selectedValue, boolean finalChoice) {
    if (finalChoice) {
      if (selectedValue == EDIT_MAPPINGS || selectedValue == ADD_MAPPING) {
        return doFinalStep(() -> runSchemaEditorForCurrentFile());
      }
      else if (selectedValue == LOAD_REMOTE) {
        return doFinalStep(() -> myService.triggerUpdateRemote());
      }
      else if (selectedValue == IGNORE_FILE) {
        markIgnored(myVirtualFile, myProject);
        return doFinalStep(() -> myService.reset());
      }
      else if (selectedValue == STOP_IGNORE_FILE) {
        unmarkIgnored(myVirtualFile, myProject);
        return doFinalStep(() -> myService.reset());
      }
      else {
        setMapping(selectedValue, myVirtualFile, myProject);
        return doFinalStep(() -> myService.reset());
      }
    }
    return PopupStep.FINAL_CHOICE;
  }
@Override
  public PopupStep<?> onChosen(JsonSchemaInfo selectedValue, boolean finalChoice)