Class ProjectRepository

  • All Implemented Interfaces:
    SRepositoryExt, ReferenceScopeHelper.Source, SRepository

    public class ProjectRepository
    extends SRepositoryBase
    implements SRepositoryExt, ReferenceScopeHelper.Source
    Repository with modules visible in MPS project. IMPORTANT! For the time being, all modules available in this MPS instance are exposed through this repository, although as we move forward with multiple projects story, this convention shall change. Likely, we'll expose modules of the project and all its imports/libraries (and won't expose modules of other opened projects), though this is not yet final. Currently delegates almost everything to the ugly singleton MPSModuleRepository. Keeps own list of listeners and sends out own notifications about modules added/removed (i.e. module added to the global repository triggers moduleAdded for for both global and each project repository