void (@NotNull AnActionEvent e) { final ArrangementSectionRulesControl control = e.getData(ArrangementSectionRulesControl.KEY); if (control == null) { return; } e.getPresentation().setEnabledAndVisible(control.getRulesAliases() != null); }