Search in sources :

Example 1 with BCCourseNodeRunController

use of org.olat.course.nodes.bc.BCCourseNodeRunController in project openolat by klemens.

the class BCCourseNode method createNodeRunConstructionResult.

/**
 * @see org.olat.course.nodes.CourseNode#createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment,
 *      org.olat.course.run.userview.NodeEvaluation)
 */
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    updateModuleConfigDefaults(false);
    BCCourseNodeRunController bcCtrl = new BCCourseNodeRunController(ureq, wControl, userCourseEnv, this, ne);
    if (StringHelper.containsNonWhitespace(nodecmd)) {
        bcCtrl.activatePath(ureq, nodecmd);
    }
    Controller titledCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, bcCtrl, this, "o_bc_icon");
    return new NodeRunConstructionResult(titledCtrl);
}
Also used : BCCourseNodeRunController(org.olat.course.nodes.bc.BCCourseNodeRunController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) BCPreviewController(org.olat.course.nodes.bc.BCPreviewController) BCPeekviewController(org.olat.course.nodes.bc.BCPeekviewController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) BCCourseNodeRunController(org.olat.course.nodes.bc.BCCourseNodeRunController) BCCourseNodeEditController(org.olat.course.nodes.bc.BCCourseNodeEditController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Example 2 with BCCourseNodeRunController

use of org.olat.course.nodes.bc.BCCourseNodeRunController in project OpenOLAT by OpenOLAT.

the class BCCourseNode method createNodeRunConstructionResult.

/**
 * @see org.olat.course.nodes.CourseNode#createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment,
 *      org.olat.course.run.userview.NodeEvaluation)
 */
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    updateModuleConfigDefaults(false);
    BCCourseNodeRunController bcCtrl = new BCCourseNodeRunController(ureq, wControl, userCourseEnv, this, ne);
    if (StringHelper.containsNonWhitespace(nodecmd)) {
        bcCtrl.activatePath(ureq, nodecmd);
    }
    Controller titledCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, bcCtrl, this, "o_bc_icon");
    return new NodeRunConstructionResult(titledCtrl);
}
Also used : BCCourseNodeRunController(org.olat.course.nodes.bc.BCCourseNodeRunController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) BCPreviewController(org.olat.course.nodes.bc.BCPreviewController) BCPeekviewController(org.olat.course.nodes.bc.BCPeekviewController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) BCCourseNodeRunController(org.olat.course.nodes.bc.BCCourseNodeRunController) BCCourseNodeEditController(org.olat.course.nodes.bc.BCCourseNodeEditController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Aggregations

Controller (org.olat.core.gui.control.Controller)2 TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)2 NodeEditController (org.olat.course.editor.NodeEditController)2 BCCourseNodeEditController (org.olat.course.nodes.bc.BCCourseNodeEditController)2 BCCourseNodeRunController (org.olat.course.nodes.bc.BCCourseNodeRunController)2 BCPeekviewController (org.olat.course.nodes.bc.BCPeekviewController)2 BCPreviewController (org.olat.course.nodes.bc.BCPreviewController)2 NodeRunConstructionResult (org.olat.course.run.navigation.NodeRunConstructionResult)2