Search in sources :

Example 1 with SPRunController

use of org.olat.course.nodes.sp.SPRunController in project OpenOLAT by OpenOLAT.

the class SPCourseNode 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);
    VFSContainer container = userCourseEnv.getCourseEnvironment().getCourseFolderContainer();
    SPRunController runController = new SPRunController(wControl, ureq, userCourseEnv, this, container);
    return new NodeRunConstructionResult(runController);
}
Also used : VFSContainer(org.olat.core.util.vfs.VFSContainer) SPRunController(org.olat.course.nodes.sp.SPRunController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Example 2 with SPRunController

use of org.olat.course.nodes.sp.SPRunController in project openolat by klemens.

the class SPCourseNode 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);
    VFSContainer container = userCourseEnv.getCourseEnvironment().getCourseFolderContainer();
    SPRunController runController = new SPRunController(wControl, ureq, userCourseEnv, this, container);
    return new NodeRunConstructionResult(runController);
}
Also used : VFSContainer(org.olat.core.util.vfs.VFSContainer) SPRunController(org.olat.course.nodes.sp.SPRunController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Aggregations

VFSContainer (org.olat.core.util.vfs.VFSContainer)2 SPRunController (org.olat.course.nodes.sp.SPRunController)2 NodeRunConstructionResult (org.olat.course.run.navigation.NodeRunConstructionResult)2