void (@NotNull AnActionEvent e) { VirtualFile[] files = e.getData(CommonDataKeys.VIRTUAL_FILE_ARRAY); if (Registry.is("ide.hide.excluded.files")) { String message = files.length == 1 ? FileUtil.toSystemDependentName(files[0].getPath()) : LangBundle.message("dialog.message.selected.files", files.length); final int rc = Messages.showOkCancelDialog(e.getData(CommonDataKeys.PROJECT), getPromptText(message), LangBundle.message("dialog.title.mark.as.excluded"), Messages.getQuestionIcon()); if (rc != Messages.OK) { return; } } super.actionPerformed(e); }