diff --git a/topics/basics/plugin_structure/plugin_extension_points.md b/topics/basics/plugin_structure/plugin_extension_points.md index a3142c36f..7707ff7f0 100644 --- a/topics/basics/plugin_structure/plugin_extension_points.md +++ b/topics/basics/plugin_structure/plugin_extension_points.md @@ -43,6 +43,8 @@ The `name` attribute assigns a unique name for this extension point. Its fully qualified name required in [Using Extension Points](#using-extension-points) is built by prefixing `` + `.`: `my.plugin.myExtensionPoint1` and `my.plugin.myExtensionPoint2`. The `beanClass` attribute sets a bean class that specifies one or several properties annotated with the [`@Attribute`](upsource:///platform/util/src/com/intellij/util/xmlb/annotations/Attribute.java) annotation. +Note that bean classes do not follow the JavaBean standard. + The `interface` attribute sets an interface the plugin that contributes to the extension point must implement. The `area` attribute determines the scope in which the extension will be instantiated. diff --git a/topics/basics/plugin_structure/plugin_extensions.md b/topics/basics/plugin_structure/plugin_extensions.md index f5a91bdbf..e794aecbb 100644 --- a/topics/basics/plugin_structure/plugin_extensions.md +++ b/topics/basics/plugin_structure/plugin_extensions.md @@ -38,7 +38,10 @@ See [](explore_api.md) for more information and strategies. * 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:///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 `com.intellij.appStarter` and `com.intellij.projectTemplatesFactory` extension points in the IntelliJ Platform and one extension to access the `another.plugin.myExtensionPoint` extension point in another plugin `another.plugin`: + See the [](plugin_extension_points.md#declaring-extension-points) section for details. + +To clarify this procedure, consider the following sample section of the plugin.xml file that defines two extensions designed to access the `com.intellij.appStarter` and `com.intellij.projectTemplatesFactory` extension points in the IntelliJ Platform, +and one extension to access the `another.plugin.myExtensionPoint` extension point in another plugin `another.plugin`: ```xml