void (@NotNull AnActionEvent e) { e.getPresentation().setIcon(getIcon()); e.getPresentation().setHoveredIcon(AllIcons.Actions.CloseHovered); e.getPresentation().setVisible(UISettings.getInstance().getShowCloseButton()); e.getPresentation().setText(IdeBundle.messagePointer("action.presentation.LightEditTabs.text")); }