Search in sources :

Example 1 with Card2BrainEditController

use of org.olat.course.nodes.card2brain.Card2BrainEditController in project OpenOLAT by OpenOLAT.

the class Card2BrainCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    Card2BrainEditController childTabCntrllr = new Card2BrainEditController(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) Card2BrainEditController(org.olat.course.nodes.card2brain.Card2BrainEditController)

Example 2 with Card2BrainEditController

use of org.olat.course.nodes.card2brain.Card2BrainEditController in project openolat by klemens.

the class Card2BrainCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    Card2BrainEditController childTabCntrllr = new Card2BrainEditController(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) Card2BrainEditController(org.olat.course.nodes.card2brain.Card2BrainEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 Card2BrainEditController (org.olat.course.nodes.card2brain.Card2BrainEditController)2