override suspend fun create()

in plugin/src/main/kotlin/toolbox/gateway/sample/environment/ManualContentsViewFactory.kt [21:31]


    override suspend fun create(config: EnvironmentConfig): EnvironmentContentsView {
        val ides = config.availableIdeProductCodes.map { productCode ->
            SimpleIdeStub(productCode)
        }
        
        val projects = config.projectPaths.map { path ->
            CachedProject(path)
        }
        
        return SimpleManualContentsView(ides, projects)
    }