Search in sources :

Example 1 with PortfolioCourseNodeEditController

use of org.olat.course.nodes.portfolio.PortfolioCourseNodeEditController in project OpenOLAT by OpenOLAT.

the class PortfolioCourseNode method createEditController.

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

Example 2 with PortfolioCourseNodeEditController

use of org.olat.course.nodes.portfolio.PortfolioCourseNodeEditController in project openolat by klemens.

the class PortfolioCourseNode method createEditController.

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

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)2 PortfolioCourseNodeEditController (org.olat.course.nodes.portfolio.PortfolioCourseNodeEditController)2