Package org.jetbrains.mps.openapi.module
Interface SRepositoryAttachListener
-
- All Superinterfaces:
SRepositoryListener
- All Known Implementing Classes:
SRepositoryContentAdapter
public interface SRepositoryAttachListener extends SRepositoryListener
Variation of a repository listener that receives notifications when listener is attached to/detached from a repository. Useful for listeners that need to perform certain initialization of own state the moment they get registered with a repository. Also this variation comes handy for global listeners that track all repositories throughSRepositoryRegistry.addGlobalListener()
,
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
startListening(SRepository repository)
void
stopListening(SRepository repository)
-
Methods inherited from interface org.jetbrains.mps.openapi.module.SRepositoryListener
beforeModuleRemoved, commandFinished, commandStarted, moduleAdded, moduleRemoved, repositoryCommandFinished, repositoryCommandStarted, updateFinished, updateStarted
-
-
-
-
Method Detail
-
startListening
void startListening(@NotNull SRepository repository)
-
stopListening
void stopListening(@NotNull SRepository repository)
-
-