boolean (@NotNull AnActionEvent e) { Project project = e.getData(CommonDataKeys.PROJECT); MainVcsLogUi ui = e.getData(VcsLogInternalDataKeys.MAIN_UI); VcsLogData dataProvider = e.getData(VcsLogInternalDataKeys.LOG_DATA); if (project == null || dataProvider == null || ui == null) { return false; } return DeepComparator.getInstance(project, dataProvider, ui).hasHighlightingOrInProgress(); }