Package org.jetbrains.mps.openapi.repository
-
Interface Summary Interface Description CommandListener It can be used for listening to commandStarted and commandFinished events ofModelAccess.executeCommand(Runnable)
andModelAccess.executeCommandInEDT(Runnable)
The clients are still in write action while handling both eventsReadActionListener Listen to enter/leave events forModelAccess.runReadAction(Runnable)
Clients receive notifications with the read lock obtained.WriteActionListener Represents a listener to start/finish notifications ofModelAccess.runWriteAction(Runnable)
NB: clients are guaranteed that there is a write lock inside actionStarted and actionFinished.