Search in sources :

Example 1 with ENEditController

use of org.olat.course.nodes.en.ENEditController in project OpenOLAT by OpenOLAT.

the class ENCourseNode 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) {
    migrateConfig();
    ENEditController childTabCntrllr = new ENEditController(getModuleConfiguration(), 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 : ENEditController(org.olat.course.nodes.en.ENEditController) NodeEditController(org.olat.course.editor.NodeEditController)

Example 2 with ENEditController

use of org.olat.course.nodes.en.ENEditController in project openolat by klemens.

the class ENCourseNode 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) {
    migrateConfig();
    ENEditController childTabCntrllr = new ENEditController(getModuleConfiguration(), 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 : ENEditController(org.olat.course.nodes.en.ENEditController) NodeEditController(org.olat.course.editor.NodeEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 ENEditController (org.olat.course.nodes.en.ENEditController)2