void (@NotNull AnActionEvent e, @NotNull Notification notification) { String dialogDesc = GitBundle.message("dialog.message.untracked.files.will.be.overwritten.by.operation", operation); String title = GitBundle.message("dialog.title.untracked.files.preventing.operation", StringUtil.capitalize(operation)); if (untrackedFiles.isEmpty()) { GitUtil.showPathsInDialog(project, absolutePaths, title, dialogDesc); } else { DialogWrapper dialog; dialog = new UntrackedFilesDialog(project, untrackedFiles, dialogDesc); dialog.setTitle(title); dialog.show(); } }