void (@NotNull final AnActionEvent e) { Project project = e.getProject(); e.getPresentation().setEnabled(e.getData(UsageView.USAGE_VIEW_KEY) != null && project != null && ((FindManagerImpl)FindManager.getInstance(project)).getFindUsagesManager().getHistory().getAll().size() > 1); }