mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
tool_windows.md: clarify reference
This commit is contained in:
parent
b7e67e5d97
commit
0bb69d607f
@ -38,7 +38,7 @@ If the tool window of a plugin doesn't need to be displayed for all projects:
|
||||
* For versions 2020.1 and later, also implement the `isApplicable(Project)` method.
|
||||
* For versions 2019.3 and earlier, also specify the `conditionClass` attribute: the FQN of a class implementing [`Condition<Project>`](upsource:///platform/util-rt/src/com/intellij/openapi/util/Condition.java), which can be the same class as the tool window factory implementation.
|
||||
|
||||
Note the condition is evaluated only once when the project is loaded; to show and hide a tool window dynamically while the user is working with the project use the second method for tool window registration.
|
||||
Note the condition is evaluated only once when the project is loaded; to show and hide a tool window dynamically while the user is working with the project use [programmatic setup](#programmatic-setup) for tool window registration.
|
||||
|
||||
To provide a localized text for the tool window button, specify matching `toolwindow.stripe.[id]` message key (escape spaces with `_`) in your [message bundle](localization_guide.md) (code insight supported in 2020.3 and later).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user