Search in sources :

Example 1 with OpenMeetingsEditController

use of org.olat.course.nodes.openmeetings.OpenMeetingsEditController in project OpenOLAT by OpenOLAT.

the class OpenMeetingsCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment userCourseEnv) {
    updateModuleConfigDefaults(false);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(userCourseEnv.getCourseEditorEnv().getCurrentCourseNodeId());
    // create edit controller
    OpenMeetingsEditController childTabCntrllr = new OpenMeetingsEditController(ureq, wControl, this, course, userCourseEnv);
    NodeEditController nodeEditCtr = new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, userCourseEnv, childTabCntrllr);
    nodeEditCtr.addControllerListener(childTabCntrllr);
    return nodeEditCtr;
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) OpenMeetingsEditController(org.olat.course.nodes.openmeetings.OpenMeetingsEditController)

Example 2 with OpenMeetingsEditController

use of org.olat.course.nodes.openmeetings.OpenMeetingsEditController in project openolat by klemens.

the class OpenMeetingsCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment userCourseEnv) {
    updateModuleConfigDefaults(false);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(userCourseEnv.getCourseEditorEnv().getCurrentCourseNodeId());
    // create edit controller
    OpenMeetingsEditController childTabCntrllr = new OpenMeetingsEditController(ureq, wControl, this, course, userCourseEnv);
    NodeEditController nodeEditCtr = new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, userCourseEnv, childTabCntrllr);
    nodeEditCtr.addControllerListener(childTabCntrllr);
    return nodeEditCtr;
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) OpenMeetingsEditController(org.olat.course.nodes.openmeetings.OpenMeetingsEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 OpenMeetingsEditController (org.olat.course.nodes.openmeetings.OpenMeetingsEditController)2