NotificationAction (@NotNull GitRepository currentRepository) { return NotificationAction.create(GitBundle.message("action.NotificationAction.text.resolve"), (e, notification) -> { myProgressManager.run(new Task.Backgroundable(myProject, GitBundle.message("rebase.progress.indicator.conflicts.collecting.title")) { @Override public void run(@NotNull ProgressIndicator indicator) { resolveConflicts(currentRepository, notification); } }); }); }