void (@NotNull AnActionEvent event) { super.update(event); if (ActionPlaces.isPopupPlace(event.getPlace())) { Presentation presentation = event.getPresentation(); presentation.setVisible(presentation.isEnabled()); } }