void () { AnAction action = ActionManager.getInstance().getAction(XDebuggerActions.VIEW_BREAKPOINTS); String shortcutText = action != null ? KeymapUtil.getFirstKeyboardShortcutText(action) : null; String text = XDebuggerBundle.message("xbreakpoints.popup.more.label"); if (shortcutText != null) { text += " (" + shortcutText + ")"; } myShowMoreOptionsLink = new ActionLink(text, e -> { if (myDelegate != null) { myDelegate.more(); } }); }