Search in sources :

Example 1 with DialogCourseNodeEditController

use of org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController in project OpenOLAT by OpenOLAT.

the class DialogCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse,
 *      org.olat.course.run.userview.UserCourseEnvironment)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    DialogCourseNodeEditController childTabCntrllr = new DialogCourseNodeEditController(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 : DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController) NodeEditController(org.olat.course.editor.NodeEditController) DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController)

Example 2 with DialogCourseNodeEditController

use of org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController in project openolat by klemens.

the class DialogCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse,
 *      org.olat.course.run.userview.UserCourseEnvironment)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    DialogCourseNodeEditController childTabCntrllr = new DialogCourseNodeEditController(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 : DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController) NodeEditController(org.olat.course.editor.NodeEditController) DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 DialogCourseNodeEditController (org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController)2