void (@NotNull AnActionEvent e) { super.update(e); Project project = e.getProject(); e.getPresentation().setVisible(project != null && ProjectLevelVcsManager.getInstance(project).hasActiveVcss()); e.getPresentation().setText(getConsolidatedVcsName(project)); }