From 2e381657ee8f43c82a7743e98f609cb47d320534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 23 Oct 2024 15:47:47 +0200 Subject: [PATCH] fix links --- topics/user_interface_components/misc_swing_components.md | 2 +- topics/user_interface_components/tool_windows.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/topics/user_interface_components/misc_swing_components.md b/topics/user_interface_components/misc_swing_components.md index 4ebbe1d85..aca60f4d6 100644 --- a/topics/user_interface_components/misc_swing_components.md +++ b/topics/user_interface_components/misc_swing_components.md @@ -38,4 +38,4 @@ so it's up to the developer to choose which tab control would be more appropriat See [](toolbar.md) in the UI Guidelines for an overview. -[](basic_action_system.md#building-ui-from-actions) covers creating `AnAction`-based toolbars. +[](basic_action_system.md#buildingToolbarPopupMenu) covers creating `AnAction`-based toolbars. diff --git a/topics/user_interface_components/tool_windows.md b/topics/user_interface_components/tool_windows.md index 73a2da715..fd07ced53 100644 --- a/topics/user_interface_components/tool_windows.md +++ b/topics/user_interface_components/tool_windows.md @@ -88,7 +88,7 @@ To manage the contents of a tool window, call [`ToolWindow.getContentManager()`] To add a content (tab), first create it by calling [`ContentManager.getFactory().createContent()`](%gh-ic%/platform/ide-core/src/com/intellij/ui/content/ContentManager.java), and then to add it to the tool window using [`ContentManager.addContent()`](%gh-ic%/platform/ide-core/src/com/intellij/ui/content/ContentManager.java). Use `Content.setDisposer()` to register associated `Disposable` (see [](disposers.md)). -See [`SimpleToolWindowPanel`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/ui/SimpleToolWindowPanel.java) as a convenient base class, supporting [Toolbars](basic_action_system.md#building-ui-from-actions) and both vertical/horizontal layout. +See [`SimpleToolWindowPanel`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/ui/SimpleToolWindowPanel.java) as a convenient base class, supporting [Toolbars](basic_action_system.md#buildingToolbarPopupMenu) and both vertical/horizontal layout. ### Closing Tabs