mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
plugin_extension_points.md: fix ExtensionPointListener reference
This commit is contained in:
parent
4500a8fe2d
commit
88cb884c9f
@ -108,14 +108,14 @@ public class MyExtensionUsingService {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
A gutter icon for the `ExtensionPointName` declaration allows navigating to the corresponding `<extensionPoint>` declaration in `plugin.xml`.
|
||||
|
||||
## Dynamic Extension Points
|
||||
To support [Dynamic Plugins](dynamic_plugins.md) (2020.1 and later), an extension point must adhere to specific usage rules:
|
||||
|
||||
- extensions are enumerated on every use and extensions instances are not stored anywhere
|
||||
- alternatively, an `ExtensionPointChangeListener` can perform necessary updates of data structures (register via `ExtensionPointName.addExtensionPointListener()`)
|
||||
- alternatively, an [`ExtensionPointListener`](upsource:///platform/extensions/src/com/intellij/openapi/extensions/ExtensionPointListener.java) can perform necessary updates of data structures (register via `ExtensionPointName.addExtensionPointListener()`)
|
||||
|
||||
Extension points matching these conditions can then be marked as _dynamic_ by adding `dynamic="true"` in their declaration:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user