Search in sources :

Example 6 with CourseSiteConfiguration

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

the class CourseSiteDef2 method getCourseSiteconfiguration.

@Override
protected CourseSiteConfiguration getCourseSiteconfiguration() {
    SiteDefinitions siteModule = CoreSpringFactory.getImpl(SiteDefinitions.class);
    CourseSiteConfiguration config = siteModule.getConfigurationCourseSite2();
    return config;
}
Also used : CourseSiteConfiguration(org.olat.course.site.model.CourseSiteConfiguration) SiteDefinitions(org.olat.core.gui.control.navigation.SiteDefinitions)

Example 7 with CourseSiteConfiguration

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

the class CourseSiteDef3 method getCourseSiteconfiguration.

@Override
protected CourseSiteConfiguration getCourseSiteconfiguration() {
    SiteDefinitions siteModule = CoreSpringFactory.getImpl(SiteDefinitions.class);
    CourseSiteConfiguration config = siteModule.getConfigurationCourseSite3();
    return config;
}
Also used : CourseSiteConfiguration(org.olat.course.site.model.CourseSiteConfiguration) SiteDefinitions(org.olat.core.gui.control.navigation.SiteDefinitions)

Example 8 with CourseSiteConfiguration

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

the class SitesAdminController method doCourseSite4Settings.

private void doCourseSite4Settings(UserRequest ureq) {
    if (courseSite4Ctrl == null) {
        CourseSiteConfiguration siteConfiguration = sitesModule.getConfigurationCourseSite4();
        if (siteConfiguration == null) {
            siteConfiguration = new CourseSiteConfiguration();
        }
        courseSite4Ctrl = new CourseSiteAdminController(ureq, getWindowControl(), siteConfiguration);
        listenTo(courseSite4Ctrl);
    }
    mainVC.put("segmentCmp", courseSite4Ctrl.getInitialComponent());
}
Also used : CourseSiteConfiguration(org.olat.course.site.model.CourseSiteConfiguration) CourseSiteAdminController(org.olat.course.site.ui.CourseSiteAdminController)

Example 9 with CourseSiteConfiguration

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

the class SitesAdminController method doCourseSite1Settings.

private void doCourseSite1Settings(UserRequest ureq) {
    if (courseSite1Ctrl == null) {
        CourseSiteConfiguration siteConfiguration = sitesModule.getConfigurationCourseSite1();
        if (siteConfiguration == null) {
            siteConfiguration = new CourseSiteConfiguration();
        }
        courseSite1Ctrl = new CourseSiteAdminController(ureq, getWindowControl(), siteConfiguration);
        listenTo(courseSite1Ctrl);
    }
    mainVC.put("segmentCmp", courseSite1Ctrl.getInitialComponent());
}
Also used : CourseSiteConfiguration(org.olat.course.site.model.CourseSiteConfiguration) CourseSiteAdminController(org.olat.course.site.ui.CourseSiteAdminController)

Example 10 with CourseSiteConfiguration

use of org.olat.course.site.model.CourseSiteConfiguration in project OpenOLAT by OpenOLAT.

the class SitesAdminController method doCourseSite4Settings.

private void doCourseSite4Settings(UserRequest ureq) {
    if (courseSite4Ctrl == null) {
        CourseSiteConfiguration siteConfiguration = sitesModule.getConfigurationCourseSite4();
        if (siteConfiguration == null) {
            siteConfiguration = new CourseSiteConfiguration();
        }
        courseSite4Ctrl = new CourseSiteAdminController(ureq, getWindowControl(), siteConfiguration);
        listenTo(courseSite4Ctrl);
    }
    mainVC.put("segmentCmp", courseSite4Ctrl.getInitialComponent());
}
Also used : CourseSiteConfiguration(org.olat.course.site.model.CourseSiteConfiguration) CourseSiteAdminController(org.olat.course.site.ui.CourseSiteAdminController)

Aggregations

CourseSiteConfiguration (org.olat.course.site.model.CourseSiteConfiguration)20 SiteDefinitions (org.olat.core.gui.control.navigation.SiteDefinitions)8 CourseSiteAdminController (org.olat.course.site.ui.CourseSiteAdminController)8 SiteDefinition (org.olat.core.gui.control.navigation.SiteDefinition)4 LanguageConfiguration (org.olat.course.site.model.LanguageConfiguration)4 OLATResourceable (org.olat.core.id.OLATResourceable)2 RepositoryEntry (org.olat.repository.RepositoryEntry)2 RepositoryManager (org.olat.repository.RepositoryManager)2