void (@NotNull AnActionEvent event) { super.update(event); int tabPlacement = UISettings.getInstance().getEditorTabPlacement(); if (tabPlacement == SwingConstants.LEFT || tabPlacement == SwingConstants.RIGHT) { event.getPresentation().setText(IdeBundle.messagePointer(getAlternativeTextKey())); } }