mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
tool_window code sample: Update README.md
This commit is contained in:
parent
1b8d2dd142
commit
82c299200a
@ -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.
|
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.
|
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
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
|---------------------------|-------------------------------------------------|-----------------------|
|
|---------------------------|-------------------------------------------------------------|-----------------------|
|
||||||
| `com.intellij.toolWindow` | [MyToolWindowFactory][file:MyToolWindowFactory] | `ToolWindowFactory` |
|
| `com.intellij.toolWindow` | [CalendarToolWindowFactory][file:CalendarToolWindowFactory] | `ToolWindowFactory` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*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:tool_windows]: https://plugins.jetbrains.com/docs/intellij/tool-windows.html
|
||||||
[docs:ep]: https://plugins.jetbrains.com/docs/intellij/plugin-extensions.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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user