void (@NotNull Content content, boolean requestFocus, boolean forcedFocus, boolean activate, @Nullable Runnable activationCallback) { invokeLaterIfNeeded(() -> { ToolWindow toolWindow = getOrCreateToolWindow(); if (!toolWindow.isAvailable()) { return; } if (activate) { toolWindow.show(activationCallback); } toolWindow.getContentManager().setSelectedContent(content, requestFocus, forcedFocus, false); }); }