final String singleFilePromptTemplate,
final VcsShowConfirmationOption confirmationOption);
+ @Nullable
+ public Collection<FilePath> selectFilePathsToProcess(List<FilePath> files,
+ final String title,
+ @Nullable final String prompt,
+ final String singleFileTitle,
+ final String singleFilePromptTemplate,
+ final VcsShowConfirmationOption confirmationOption,
+ @Nullable String okActionName,
+ @Nullable String cancelActionName) {
+ return selectFilePathsToProcess(files, title, prompt, singleFileTitle, singleFilePromptTemplate, confirmationOption);
+ };
++
++
+ /**
+ * Shows commit dialog, fills it with the given changes and given commit message, initially selects the given changelist.
+ * @return true if user commits the changes, and commit succeeds; false if user presses Cancel or commit fails with errors.
+ */
+ public abstract boolean commitChanges(@NotNull List<Change> changes, @NotNull LocalChangeList initialChangeList,
+ @NotNull String commitMessage, @Nullable CommitExecutor executor);
+
++
}
}
});
}
++
++ @Override
++ public boolean commitChanges(@NotNull List<Change> changes, @NotNull LocalChangeList initialChangeList,
++ @NotNull String commitMessage, @Nullable CommitExecutor executor) {
++ return CommitChangeListDialog.commitChanges(myProject, changes, initialChangeList, executor, commitMessage);
++ }
private void addDirectMessages(VcsErrorViewPanel vcsErrorViewPanel, List<VcsException> abstractVcsExceptions) {
for (final VcsException exception : abstractVcsExceptions) {