use of org.olat.course.area.CourseAreasController in project openolat by klemens.
the class CourseRuntimeController method doCourseAreas.
private void doCourseAreas(UserRequest ureq) {
if (delayedClose == Delayed.courseAreas || requestForClose(ureq)) {
removeCustomCSS();
ICourse course = CourseFactory.loadCourse(getRepositoryEntry());
CourseAreasController ctrl = new CourseAreasController(ureq, getWindowControl(), getRepositoryEntry().getOlatResource(), getUserCourseEnvironment().isCourseReadOnly());
ctrl.addLoggingResourceable(LoggingResourceable.wrap(course));
areasCtrl = pushController(ureq, translate("command.courseareas"), ctrl);
setActiveTool(areaLink);
currentToolCtr = areasCtrl;
} else {
delayedClose = Delayed.courseAreas;
}
}
use of org.olat.course.area.CourseAreasController in project OpenOLAT by OpenOLAT.
the class CourseRuntimeController method doCourseAreas.
private void doCourseAreas(UserRequest ureq) {
if (delayedClose == Delayed.courseAreas || requestForClose(ureq)) {
removeCustomCSS();
ICourse course = CourseFactory.loadCourse(getRepositoryEntry());
CourseAreasController ctrl = new CourseAreasController(ureq, getWindowControl(), getRepositoryEntry().getOlatResource(), getUserCourseEnvironment().isCourseReadOnly());
ctrl.addLoggingResourceable(LoggingResourceable.wrap(course));
areasCtrl = pushController(ureq, translate("command.courseareas"), ctrl);
setActiveTool(areaLink);
currentToolCtr = areasCtrl;
} else {
delayedClose = Delayed.courseAreas;
}
}
Aggregations