void (@NotNull final AnActionEvent e) { if (!e.getPresentation().isVisible()) { return; } if (!openDiff(e.getDataContext(), null)) { final Component component = e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT); Messages.showInfoMessage(component, TestRunnerBundle.message("dialog.message.comparison.error.was.found"), TestRunnerBundle.message("dialog.title.no.comparison.data.found")); } }