void (@NotNull UIUtil.TextPainter painter, @NotNull @Nls String action, @NotNull String toolWindowId, @NotNull JComponent splitters) { if (!isToolwindowVisible(splitters, toolWindowId)) { String activateActionId = ActivateToolWindowAction.getActionIdForToolWindow(toolWindowId); appendAction(painter, action, getActionShortcutText(activateActionId)); } }