Search in sources :

Example 1 with CalEditController

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

the class CalCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.CourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    CalEditController childTabCntrllr = new CalEditController(getModuleConfiguration(), ureq, wControl, this, course, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) CalEditController(org.olat.course.nodes.cal.CalEditController)

Example 2 with CalEditController

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

the class CalCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.CourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    CalEditController childTabCntrllr = new CalEditController(getModuleConfiguration(), ureq, wControl, this, course, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) CalEditController(org.olat.course.nodes.cal.CalEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 CalEditController (org.olat.course.nodes.cal.CalEditController)2