Search in sources :

Example 1 with FOCourseNodeEditController

use of org.olat.course.nodes.fo.FOCourseNodeEditController in project openolat by klemens.

the class ForumNodeForumCallback 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);
    FOCourseNodeEditController childTabCntrllr = new FOCourseNodeEditController(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) FOCourseNodeEditController(org.olat.course.nodes.fo.FOCourseNodeEditController) FOCourseNodeEditController(org.olat.course.nodes.fo.FOCourseNodeEditController)

Example 2 with FOCourseNodeEditController

use of org.olat.course.nodes.fo.FOCourseNodeEditController in project OpenOLAT by OpenOLAT.

the class ForumNodeForumCallback 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);
    FOCourseNodeEditController childTabCntrllr = new FOCourseNodeEditController(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) FOCourseNodeEditController(org.olat.course.nodes.fo.FOCourseNodeEditController) FOCourseNodeEditController(org.olat.course.nodes.fo.FOCourseNodeEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 FOCourseNodeEditController (org.olat.course.nodes.fo.FOCourseNodeEditController)2