From c9d7ce3a9cef69103ba18261c7e79c894ea85784 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 17 Jun 2025 11:31:24 +0200 Subject: [PATCH] MP-6705 API for dynamically showing Tool Window triggers verification error for internal API use GitOrigin-RevId: 28eb63d956febd853663fcba028fdbf51f6a5b79 --- platform/platform-api/api-dump.txt | 2 ++ .../src/com/intellij/openapi/wm/ToolWindowManager.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/platform-api/api-dump.txt b/platform/platform-api/api-dump.txt index bcd6d5401cb6..97ee26fd5391 100644 --- a/platform/platform-api/api-dump.txt +++ b/platform/platform-api/api-dump.txt @@ -648,6 +648,8 @@ com.intellij.openapi.wm.ToolWindowFactory - isApplicableAsync(com.intellij.openapi.project.Project,kotlin.coroutines.Continuation):java.lang.Object - isDoNotActivateOnStart():Z - shouldBeAvailable(com.intellij.openapi.project.Project):Z +a:com.intellij.openapi.wm.ToolWindowManager +- a:registerToolWindow(com.intellij.openapi.wm.RegisterToolWindowTask):com.intellij.openapi.wm.ToolWindow com.intellij.openapi.wm.WelcomeFrameProvider - a:createFrame():com.intellij.openapi.wm.IdeFrame com.intellij.openapi.wm.WelcomeScreen diff --git a/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt b/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt index 15ef64040b45..c9eac2babc92 100644 --- a/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt +++ b/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt @@ -86,7 +86,7 @@ abstract class ToolWindowManager { return registerToolWindow(RegisterToolWindowTask(id = id, anchor = anchor, canCloseContent = canCloseContent, canWorkInDumbMode = false)) } - @Internal + @ApiStatus.OverrideOnly abstract fun registerToolWindow(task: RegisterToolWindowTask): ToolWindow /**