Interface Project


  • public interface Project
    Project entity which denotes the working environment. There might be multiple projects opened in the single environment fixme: Just to clarify: this is the 'API to be' for the notion of project in MPS. the base-base class jetbrains.mps.Project seems to be cluttered with no clear API it is better to be removed
    Since:
    2017.1
    • Method Detail

      • getRepository

        @NotNull
        SRepository getRepository()
        Returns:
        the project repository which contains all the project modules
      • getModelAccess

        @NotNull
        ModelAccess getModelAccess()
        Returns:
        a shorthand for #getRepository().getModelAccess()
      • getProjectModules

        @NotNull
        List<SModule> getProjectModules()
        Returns:
        all the modules this project owns (todo: contract to be: the same modules are in the #getRepository() repository) currently #getRepository returns the global repository (singleton) which hosts all the modules in the environment
      • isOpened

        boolean isOpened()
        Project has two states -- #opened and #closed.
        Returns:
        whether this project is opened.