Plugin listeners: cleanup

This commit is contained in:
Yann Cébron 2020-02-19 11:26:13 +01:00
parent 7b47a22bad
commit 0535711914

View File

@ -2,7 +2,7 @@
title: Plugin Listeners
---
> **NOTE** Defining listeners in `plugin.xml` is supported starting with the version 2019.3 of the platform.
> **NOTE** Defining listeners in `plugin.xml` is supported starting with version 2019.3 of the platform.
_Listeners_ allow plugins to declaratively subscribe to events delivered through the
[message bus](/reference_guide/messaging_infrastructure.md). You can define both application- and project-level
@ -23,7 +23,7 @@ To define an application-level listener, add the following section to your `plug
```
The `topic` attribute specifies the listener interface corresponding to the type of events you want to receive.
Normally, this is the interface used as the type parameter of the `Topic` instance for the type of events.
Normally, this is the interface used as the type parameter of the [`Topic`](upsource:///platform/extensions/src/com/intellij/util/messages/Topic.java) instance for the type of events.
The `class` attribute specifies the class in your plugin that implements the listener interface and receives
the events.