Package org.jetbrains.mps.openapi.module
Class SRepositoryListenerBase
- java.lang.Object
-
- org.jetbrains.mps.openapi.module.SRepositoryListenerBase
-
- All Implemented Interfaces:
SRepositoryListener
@Deprecated(forRemoval=true) public abstract class SRepositoryListenerBase extends Object implements SRepositoryListener
Deprecated, for removal: This API element is subject to removal in a future version.A convenient, although useless now, empty implementation of the SRepositoryListener interface. With default interface methods, one can useSRepositoryListener
directly Keep this class at least for few releases (I'd say couple of years), it's not that urgent to remove it
-
-
Constructor Summary
Constructors Constructor Description SRepositoryListenerBase()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
beforeModuleRemoved(SModule module)
Deprecated, for removal: This API element is subject to removal in a future version.void
commandFinished(SRepository repository)
Deprecated, for removal: This API element is subject to removal in a future version.void
commandStarted(SRepository repository)
Deprecated, for removal: This API element is subject to removal in a future version.Notifications about commands in aModelAccess
associated with the repository.void
moduleAdded(SModule module)
Deprecated, for removal: This API element is subject to removal in a future version.void
moduleRemoved(SModuleReference module)
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jetbrains.mps.openapi.module.SRepositoryListener
repositoryCommandFinished, repositoryCommandStarted, updateFinished, updateStarted
-
-
-
-
Method Detail
-
moduleAdded
public void moduleAdded(@NotNull SModule module)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
moduleAdded
in interfaceSRepositoryListener
-
beforeModuleRemoved
public void beforeModuleRemoved(@NotNull SModule module)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
beforeModuleRemoved
in interfaceSRepositoryListener
-
moduleRemoved
public void moduleRemoved(@NotNull SModuleReference module)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
moduleRemoved
in interfaceSRepositoryListener
-
commandStarted
public void commandStarted(SRepository repository)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SRepositoryListener
Notifications about commands in aModelAccess
associated with the repository. It's convenient to have command notifications right in SRepositoryListener implementation, like RepositoryChangeTracker (the one where all changes within a command are collected), rather than have distinctCommandListener
. UnlikeCommandListener
, gives context repository to facilitate use of the same listener instance among different repositories.- Specified by:
commandStarted
in interfaceSRepositoryListener
- See Also:
CommandListener.commandStarted()
-
commandFinished
public void commandFinished(SRepository repository)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
commandFinished
in interfaceSRepositoryListener
- See Also:
CommandListener.commandFinished()
-
-