Search in sources :

Example 1 with CheckListEditController

use of org.olat.course.nodes.cl.ui.CheckListEditController in project OpenOLAT by OpenOLAT.

the class CheckListCourseNode 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);
    // only the precondition "access" can be configured till now
    CheckListEditController childTabCntrllr = new CheckListEditController(this, ureq, wControl, 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) CheckListEditController(org.olat.course.nodes.cl.ui.CheckListEditController)

Example 2 with CheckListEditController

use of org.olat.course.nodes.cl.ui.CheckListEditController in project openolat by klemens.

the class CheckListCourseNode 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);
    // only the precondition "access" can be configured till now
    CheckListEditController childTabCntrllr = new CheckListEditController(this, ureq, wControl, 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) CheckListEditController(org.olat.course.nodes.cl.ui.CheckListEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 CheckListEditController (org.olat.course.nodes.cl.ui.CheckListEditController)2