Search in sources :

Example 1 with CalRunController

use of org.olat.course.nodes.cal.CalRunController in project OpenOLAT by OpenOLAT.

the class CalCourseNode method createNodeRunConstructionResult.

/**
 * @see org.olat.course.nodes.CourseNode#createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment,
 *      org.olat.course.run.userview.NodeEvaluation)
 */
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    updateModuleConfigDefaults(false);
    CalRunController calCtlr = new CalRunController(wControl, ureq, this, userCourseEnv, ne);
    Controller wrapperCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, calCtlr, this, "o_cal_icon");
    return new NodeRunConstructionResult(wrapperCtrl);
}
Also used : CalRunController(org.olat.course.nodes.cal.CalRunController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) CalRunController(org.olat.course.nodes.cal.CalRunController) CourseCalendarPeekViewController(org.olat.course.nodes.cal.CourseCalendarPeekViewController) CalEditController(org.olat.course.nodes.cal.CalEditController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Example 2 with CalRunController

use of org.olat.course.nodes.cal.CalRunController in project openolat by klemens.

the class CalCourseNode method createNodeRunConstructionResult.

/**
 * @see org.olat.course.nodes.CourseNode#createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment,
 *      org.olat.course.run.userview.NodeEvaluation)
 */
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    updateModuleConfigDefaults(false);
    CalRunController calCtlr = new CalRunController(wControl, ureq, this, userCourseEnv, ne);
    Controller wrapperCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, calCtlr, this, "o_cal_icon");
    return new NodeRunConstructionResult(wrapperCtrl);
}
Also used : CalRunController(org.olat.course.nodes.cal.CalRunController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) CalRunController(org.olat.course.nodes.cal.CalRunController) CourseCalendarPeekViewController(org.olat.course.nodes.cal.CourseCalendarPeekViewController) CalEditController(org.olat.course.nodes.cal.CalEditController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Aggregations

Controller (org.olat.core.gui.control.Controller)2 TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)2 NodeEditController (org.olat.course.editor.NodeEditController)2 CalEditController (org.olat.course.nodes.cal.CalEditController)2 CalRunController (org.olat.course.nodes.cal.CalRunController)2 CourseCalendarPeekViewController (org.olat.course.nodes.cal.CourseCalendarPeekViewController)2 NodeRunConstructionResult (org.olat.course.run.navigation.NodeRunConstructionResult)2