From 82c299200a1964e085160262da3193c30e5e7b0e Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Tue, 11 Apr 2023 16:18:07 +0200 Subject: [PATCH] tool_window code sample: Update README.md --- tool_window/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tool_window/README.md b/tool_window/README.md index 044a608b9..67f240775 100644 --- a/tool_window/README.md +++ b/tool_window/README.md @@ -7,13 +7,13 @@ Tool Windows are child windows of the IDE used to display information. These windows generally have their toolbars (referred to as tool window bars) along the outer edges of the main window containing one or more tool window buttons, which activate panels displayed on the left, bottom, and right sides of the main IDE window. The current implementation displays a `JPanel` component containing simple icons and information about the actual system date, time, and timezone. -Component is provided by the `MyToolWindow` class through the `getContent()` method invoked inside the `MyToolWindowFactory` implementation. +Component is provided by the `CalendarToolWindowFactory.CalendarToolWindowContent` class through the `getContentPanel()` method invoked inside the `CalendarToolWindowFactory` implementation. ### Extension Points -| Name | Implementation | Extension Point Class | -|---------------------------|-------------------------------------------------|-----------------------| -| `com.intellij.toolWindow` | [MyToolWindowFactory][file:MyToolWindowFactory] | `ToolWindowFactory` | +| Name | Implementation | Extension Point Class | +|---------------------------|-------------------------------------------------------------|-----------------------| +| `com.intellij.toolWindow` | [CalendarToolWindowFactory][file:CalendarToolWindowFactory] | `ToolWindowFactory` | *Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]* @@ -22,4 +22,4 @@ Component is provided by the `MyToolWindow` class through the `getContent()` met [docs:tool_windows]: https://plugins.jetbrains.com/docs/intellij/tool-windows.html [docs:ep]: https://plugins.jetbrains.com/docs/intellij/plugin-extensions.html -[file:MyToolWindowFactory]: ./src/main/java/org/intellij/sdk/toolWindow/MyToolWindowFactory.java +[file:CalendarToolWindowFactory]: ./src/main/java/org/intellij/sdk/toolWindow/CalendarToolWindowFactory.java