Search in sources :

Example 1 with GoToMeetingEditController

use of org.olat.course.nodes.gotomeeting.GoToMeetingEditController in project OpenOLAT by OpenOLAT.

the class GoToMeetingCourseNode 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
    GoToMeetingEditController childTabCntrllr = new GoToMeetingEditController(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) GoToMeetingEditController(org.olat.course.nodes.gotomeeting.GoToMeetingEditController)

Example 2 with GoToMeetingEditController

use of org.olat.course.nodes.gotomeeting.GoToMeetingEditController in project openolat by klemens.

the class GoToMeetingCourseNode 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
    GoToMeetingEditController childTabCntrllr = new GoToMeetingEditController(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) GoToMeetingEditController(org.olat.course.nodes.gotomeeting.GoToMeetingEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 GoToMeetingEditController (org.olat.course.nodes.gotomeeting.GoToMeetingEditController)2