public static boolean showCommitDialog(@NotNull Project project,
                                         @NotNull Set<AbstractVcs> affectedVcses,
                                         @NotNull Collection<?> included,
                                         @Nullable LocalChangeList initialChangeList,
                                         @NotNull List<? extends CommitExecutor> executors,
                                         boolean showVcsCommit,
                                         @Nullable String comment,
                                         @Nullable CommitResultHandler customResultHandler) {
    List<Change> changes = ContainerUtil.filterIsInstance(included, Change.class);
    for (BaseCheckinHandlerFactory factory : getCommitHandlerFactories(affectedVcses)) {
      BeforeCheckinDialogHandler handler = factory.createSystemReadyHandler(project);
      if (handler != null && !handler.beforeCommitDialogShown(project, changes, executors, showVcsCommit)) {
        return false;
      }
    }

    SingleChangeListCommitWorkflow workflow =
      new SingleChangeListCommitWorkflow(project, affectedVcses, included, initialChangeList, executors, showVcsCommit,
                                         comment, customResultHandler);
    CommitChangeListDialog dialog = new DefaultCommitChangeListDialog(workflow);

    return new SingleChangeListCommitWorkflowHandler(workflow, dialog).activate();
  }
public static boolean showCommitDialog(@NotNull Project project,
                                         @NotNull Set<AbstractVcs> affectedVcses,
                                         @NotNull Collection<?> included,
                                         @Nullable LocalChangeList initialChangeList,
                                         @NotNull List<? extends CommitExecutor> executors,
                                         boolean showVcsCommit,
                                         @Nullable String comment,
                                         @Nullable CommitResultHandler customResultHandler)