Search in sources :

Example 1 with WikiEditController

use of org.olat.course.nodes.wiki.WikiEditController in project OpenOLAT by OpenOLAT.

the class WikiCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    WikiEditController childTabCntrllr = new WikiEditController(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 : NodeEditController(org.olat.course.editor.NodeEditController) WikiEditController(org.olat.course.nodes.wiki.WikiEditController)

Example 2 with WikiEditController

use of org.olat.course.nodes.wiki.WikiEditController in project openolat by klemens.

the class WikiCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    WikiEditController childTabCntrllr = new WikiEditController(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 : NodeEditController(org.olat.course.editor.NodeEditController) WikiEditController(org.olat.course.nodes.wiki.WikiEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 WikiEditController (org.olat.course.nodes.wiki.WikiEditController)2