Search in sources :

Example 1 with ProjectBrokerCourseEditorController

use of org.olat.course.nodes.projectbroker.ProjectBrokerCourseEditorController in project OpenOLAT by OpenOLAT.

the class ProjectBrokerCourseNode 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) {
    updateModuleConfigDefaults(false);
    ProjectBrokerCourseEditorController childTabCntrllr = ProjectBrokerControllerFactory.createCourseEditController(ureq, wControl, course, euce, this);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    NodeEditController editController = new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
    editController.addControllerListener(childTabCntrllr);
    return editController;
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) ProjectBrokerCourseEditorController(org.olat.course.nodes.projectbroker.ProjectBrokerCourseEditorController)

Example 2 with ProjectBrokerCourseEditorController

use of org.olat.course.nodes.projectbroker.ProjectBrokerCourseEditorController in project openolat by klemens.

the class ProjectBrokerCourseNode 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) {
    updateModuleConfigDefaults(false);
    ProjectBrokerCourseEditorController childTabCntrllr = ProjectBrokerControllerFactory.createCourseEditController(ureq, wControl, course, euce, this);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    NodeEditController editController = new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
    editController.addControllerListener(childTabCntrllr);
    return editController;
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) ProjectBrokerCourseEditorController(org.olat.course.nodes.projectbroker.ProjectBrokerCourseEditorController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 ProjectBrokerCourseEditorController (org.olat.course.nodes.projectbroker.ProjectBrokerCourseEditorController)2