mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
plugin_extensions_and_extension_points: fix link to '@Attribute'
This commit is contained in:
parent
1a470670a1
commit
75c9f22c87
@ -66,7 +66,7 @@ To declare an extension designed to access the `MyExtensionPoint1` extension poi
|
||||
2. Add a new child element to the `<extensions>` element. The child element name must match the name of the extension point you want the extension to access.
|
||||
3. Depending on the type of the extension point, do one of the following:
|
||||
* If the extension point was declared using the `interface` attribute, for newly added child element, set the `implementation` attribute to the name of the class that implements the specified interface.
|
||||
* If the extension point was declared using the `beanClass` attribute, for newly added child element, set all attributes annotated with the [@Attribute](upsource:///xml/dom-openapi/src/com/intellij/util/xml/Attribute.java) annotations in the specified bean class.
|
||||
* If the extension point was declared using the `beanClass` attribute, for newly added child element, set all attributes annotated with the [@Attribute](upsource:///platform/util/src/com/intellij/util/xmlb/annotations/Attribute.java) annotations in the specified bean class.
|
||||
|
||||
|
||||
To clarify this procedure, consider the following sample section of the `plugin.xml` file that defines two extensions designed to access the `appStarter` and `applicationConfigurable` extension points in the *IntelliJ Platform* and one extension to access the `MyExtensionPoint1` extension point in a test plugin:
|
||||
|
Loading…
x
Reference in New Issue
Block a user