mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 10:17:50 +08:00
Update formatting of Condition type (#252)
This commit is contained in:
parent
771d235144
commit
7b47a22bad
@ -34,7 +34,7 @@ When the user clicks on the tool window button, the `createToolWindowContent()`
|
||||
This procedure ensures that unused tool windows don't cause any overhead in startup time or memory usage: if a user does not interact with the tool window of your plugin, no plugin code will be loaded or executed.
|
||||
|
||||
If the tool window of your plugin doesn't need to be displayed for all projects, you can also specify the *conditionClass* attribute - the qualified name of a class implementing the
|
||||
[`Condition\<Project\>`](upsource:///platform/util-rt/src/com/intellij/openapi/util/Condition.java)
|
||||
[`Condition<Project>`](upsource:///platform/util-rt/src/com/intellij/openapi/util/Condition.java)
|
||||
interface (this can be the same class as the tool window factory implementation).
|
||||
If the condition returns `false`, the tool window will not be displayed.
|
||||
Note that the condition is evaluated only once when the project is loaded;
|
||||
|
Loading…
x
Reference in New Issue
Block a user