mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
project.md: note ProjectManagerListener
This commit is contained in:
parent
dbc2b53a89
commit
cdf7e1832f
@ -121,3 +121,7 @@ project.getMessageBus().connect().subscribe(ProjectTopics.PROJECT_ROOTS,
|
||||
If targeting 2019.3 or later, [declarative registration](plugin_listeners.md) is available as well.
|
||||
|
||||
The event only notifies that something has changed; if more details are needed about what changes have occurred, keep a copy of the state of the project structure model which is relevant, and to compare it with the state after the change.
|
||||
|
||||
## Receiving Notification About Project Close/Open Events
|
||||
|
||||
Use [`ProjectManagerListener`](upsource:///platform/projectModel-api/src/com/intellij/openapi/project/ProjectManagerListener.java) [listener](plugin_listeners.md)
|
||||
|
Loading…
x
Reference in New Issue
Block a user