Search in sources :

Example 1 with TACourseNodeEditController

use of org.olat.course.nodes.ta.TACourseNodeEditController in project OpenOLAT by OpenOLAT.

the class TACourseNode 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);
    TACourseNodeEditController childTabCntrllr = new TACourseNodeEditController(ureq, wControl, course, this, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : TACourseNodeEditController(org.olat.course.nodes.ta.TACourseNodeEditController) NodeEditController(org.olat.course.editor.NodeEditController) ConvertToGTACourseNode(org.olat.course.nodes.ta.ConvertToGTACourseNode) TACourseNodeEditController(org.olat.course.nodes.ta.TACourseNodeEditController)

Example 2 with TACourseNodeEditController

use of org.olat.course.nodes.ta.TACourseNodeEditController in project openolat by klemens.

the class TACourseNode 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);
    TACourseNodeEditController childTabCntrllr = new TACourseNodeEditController(ureq, wControl, course, this, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : TACourseNodeEditController(org.olat.course.nodes.ta.TACourseNodeEditController) NodeEditController(org.olat.course.editor.NodeEditController) ConvertToGTACourseNode(org.olat.course.nodes.ta.ConvertToGTACourseNode) TACourseNodeEditController(org.olat.course.nodes.ta.TACourseNodeEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 ConvertToGTACourseNode (org.olat.course.nodes.ta.ConvertToGTACourseNode)2 TACourseNodeEditController (org.olat.course.nodes.ta.TACourseNodeEditController)2