Search in sources :

Example 6 with CourseSiteAdminController

use of org.olat.course.site.ui.CourseSiteAdminController in project OpenOLAT by OpenOLAT.

the class SitesAdminController method doCourseSite3Settings.

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

Example 7 with CourseSiteAdminController

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

the class SitesAdminController method doCourseSite2Settings.

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

Example 8 with CourseSiteAdminController

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

the class SitesAdminController method doCourseSite3Settings.

private void doCourseSite3Settings(UserRequest ureq) {
    if (courseSite3Ctrl == null) {
        CourseSiteConfiguration siteConfiguration = sitesModule.getConfigurationCourseSite3();
        if (siteConfiguration == null) {
            siteConfiguration = new CourseSiteConfiguration();
        }
        courseSite3Ctrl = new CourseSiteAdminController(ureq, getWindowControl(), siteConfiguration);
        listenTo(courseSite3Ctrl);
    }
    mainVC.put("segmentCmp", courseSite3Ctrl.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)8 CourseSiteAdminController (org.olat.course.site.ui.CourseSiteAdminController)8