Class RepositoryChangeTracker

  • All Implemented Interfaces:
    SModelListener, SNodeAccessListener, SNodeChangeListener, SModuleListener, SRepositoryAttachListener, SRepositoryListener

    public class RepositoryChangeTracker
    extends SRepositoryContentAdapter
    XXX PERHAPS, NAME OF THE CLASS SHALL REFLECT WE TRACK CHANGES WITHIN COMMANDS ONLY? IS THERE CASE WHEN WE NEED TO TRACK CHANGES WITHOUT RESPECT TO COMMAND? Tracks changes in a repository within boundaries of a command, and dispatch them further to listeners. Replacement for jetbrains.mps.smodel.GlobalSModelEventsManager, in particular #addGlobalCommandListener and SModelCommandListener RepositoryChangeTracker may come from a dedicated project component (to share it unless there's mechanism to accomplish the same through SRepository/MPSProject. Although why not Project.getComponent?)