Interface Project


  • public interface Project
    Project entity which denotes the working environment. There might be multiple projects opened in the single environment
    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.