void (@NotNull AnActionEvent e) { getDelegate().update(e); myIconButton.setIcon(e.getPresentation().getIcon()); myIconButton.setSelectedIcon(e.getPresentation().getSelectedIcon()); myLabel.setText(e.getPresentation().getText()); UIUtil.setEnabled(myPanel, e.getPresentation().isEnabled(), true); }