void (@NotNull AnActionEvent e) { final Project project = e.getProject(); if (project == null || !project.isInitialized() || project.isDisposed()) { e.getPresentation().setEnabled(false); return; } e.getPresentation().setEnabledAndVisible(myExecutorGroup.isApplicable(project)); }