Search in sources :

Example 1 with MSCourseNodeEditController

use of org.olat.course.nodes.ms.MSCourseNodeEditController in project OpenOLAT by OpenOLAT.

the class MSCourseNode 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) {
    MSCourseNodeEditController childTabCntrllr = new MSCourseNodeEditController(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) MSCourseNodeEditController(org.olat.course.nodes.ms.MSCourseNodeEditController) MSCourseNodeEditController(org.olat.course.nodes.ms.MSCourseNodeEditController)

Example 2 with MSCourseNodeEditController

use of org.olat.course.nodes.ms.MSCourseNodeEditController in project openolat by klemens.

the class MSCourseNode 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) {
    MSCourseNodeEditController childTabCntrllr = new MSCourseNodeEditController(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) MSCourseNodeEditController(org.olat.course.nodes.ms.MSCourseNodeEditController) MSCourseNodeEditController(org.olat.course.nodes.ms.MSCourseNodeEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 MSCourseNodeEditController (org.olat.course.nodes.ms.MSCourseNodeEditController)2