Search in sources :

Example 1 with CourseSiteContextEntryControllerCreator

use of org.olat.course.site.CourseSiteContextEntryControllerCreator in project OpenOLAT by OpenOLAT.

the class RepositoryModule method init.

/**
 * @see org.olat.core.configuration.AbstractOLATModule#init()
 */
@Override
public void init() {
    // Add controller factory extension point to launch groups
    NewControllerFactory.getInstance().addContextEntryControllerCreator(RepositoryEntry.class.getSimpleName(), new CourseSiteContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(CourseSite.class.getSimpleName(), new CourseSiteContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(CatalogEntry.class.getSimpleName(), new CatalogContextEntryControllerCreator(this));
    NewControllerFactory.getInstance().addContextEntryControllerCreator("Catalog", new CatalogContextEntryControllerCreator(this));
    NewControllerFactory.getInstance().addContextEntryControllerCreator("CatalogAdmin", new SiteContextEntryControllerCreator(CatalogAdminSite.class));
    NewControllerFactory.getInstance().addContextEntryControllerCreator(RepositorySite.class.getSimpleName(), new SiteContextEntryControllerCreator(RepositorySite.class));
    NewControllerFactory.getInstance().addContextEntryControllerCreator(MyCoursesSite.class.getSimpleName(), new SiteContextEntryControllerCreator(MyCoursesSite.class));
    updateProperties();
}
Also used : CatalogAdminSite(org.olat.repository.site.CatalogAdminSite) MyCoursesSite(org.olat.repository.site.MyCoursesSite) RepositorySite(org.olat.repository.site.RepositorySite) CourseSiteContextEntryControllerCreator(org.olat.course.site.CourseSiteContextEntryControllerCreator) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator) CourseSiteContextEntryControllerCreator(org.olat.course.site.CourseSiteContextEntryControllerCreator) CourseSite(org.olat.course.site.CourseSite)

Example 2 with CourseSiteContextEntryControllerCreator

use of org.olat.course.site.CourseSiteContextEntryControllerCreator in project openolat by klemens.

the class RepositoryModule method init.

/**
 * @see org.olat.core.configuration.AbstractOLATModule#init()
 */
@Override
public void init() {
    // Add controller factory extension point to launch groups
    NewControllerFactory.getInstance().addContextEntryControllerCreator(RepositoryEntry.class.getSimpleName(), new CourseSiteContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(CourseSite.class.getSimpleName(), new CourseSiteContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(CatalogEntry.class.getSimpleName(), new CatalogContextEntryControllerCreator(this));
    NewControllerFactory.getInstance().addContextEntryControllerCreator("Catalog", new CatalogContextEntryControllerCreator(this));
    NewControllerFactory.getInstance().addContextEntryControllerCreator("CatalogAdmin", new SiteContextEntryControllerCreator(CatalogAdminSite.class));
    NewControllerFactory.getInstance().addContextEntryControllerCreator(RepositorySite.class.getSimpleName(), new SiteContextEntryControllerCreator(RepositorySite.class));
    NewControllerFactory.getInstance().addContextEntryControllerCreator(MyCoursesSite.class.getSimpleName(), new SiteContextEntryControllerCreator(MyCoursesSite.class));
    updateProperties();
}
Also used : CatalogAdminSite(org.olat.repository.site.CatalogAdminSite) MyCoursesSite(org.olat.repository.site.MyCoursesSite) RepositorySite(org.olat.repository.site.RepositorySite) CourseSiteContextEntryControllerCreator(org.olat.course.site.CourseSiteContextEntryControllerCreator) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator) CourseSiteContextEntryControllerCreator(org.olat.course.site.CourseSiteContextEntryControllerCreator) CourseSite(org.olat.course.site.CourseSite)

Aggregations

SiteContextEntryControllerCreator (org.olat.core.id.context.SiteContextEntryControllerCreator)2 CourseSite (org.olat.course.site.CourseSite)2 CourseSiteContextEntryControllerCreator (org.olat.course.site.CourseSiteContextEntryControllerCreator)2 CatalogAdminSite (org.olat.repository.site.CatalogAdminSite)2 MyCoursesSite (org.olat.repository.site.MyCoursesSite)2 RepositorySite (org.olat.repository.site.RepositorySite)2