Search in sources :

Example 1 with CourseSiteAdminController

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

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 2 with CourseSiteAdminController

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

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 3 with CourseSiteAdminController

use of org.olat.course.site.ui.CourseSiteAdminController 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 4 with CourseSiteAdminController

use of org.olat.course.site.ui.CourseSiteAdminController 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 5 with CourseSiteAdminController

use of org.olat.course.site.ui.CourseSiteAdminController 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)8 CourseSiteAdminController (org.olat.course.site.ui.CourseSiteAdminController)8