JComponent (@NotNull Presentation presentation, @NotNull String place) { return new ActionButton(this, presentation, place, ActionToolbar.DEFAULT_MINIMUM_BUTTON_SIZE) { @Override protected @Nullable String getShortcutText() { KeyboardShortcut shortcut = UsageViewUtil.getShowUsagesWithSettingsShortcut(); return shortcut != null ? KeymapUtil.getShortcutText(shortcut) : null; } }; }