public static int showYesNoCancelDialog(@NotNull Project project,
                                          @NotNull @DialogMessage String message,
                                          @NotNull @DialogTitle String title,
                                          @NotNull @Button String yesButtonText,
                                          @NotNull @Button String noButtonText,
                                          @NotNull @Button String cancelButtonText,
                                          @Nullable Icon icon) {
    return dialogManager()
      .showMessageDialog(project, message, title, new String[]{yesButtonText, noButtonText, cancelButtonText}, 0, 1, icon);
  }
public static int showYesNoCancelDialog(@NotNull Project project,
                                          @NotNull @DialogMessage String message,
                                          @NotNull @DialogTitle String title,
                                          @NotNull @Button String yesButtonText,
                                          @NotNull @Button String noButtonText,
                                          @NotNull @Button String cancelButtonText,
                                          @Nullable Icon icon)