Search in sources :

Example 1 with ScormRunController

use of org.olat.course.nodes.scorm.ScormRunController in project openolat by klemens.

the class ScormCourseNode 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);
    ScormRunController cprunC = new ScormRunController(getModuleConfiguration(), ureq, userCourseEnv, wControl, this, false);
    Controller ctrl = TitledWrapperHelper.getWrapper(ureq, wControl, cprunC, this, "o_scorm_icon");
    // no inline-in-olat-menu integration possible: no display configuration option
    return new NodeRunConstructionResult(ctrl);
}
Also used : ScormRunController(org.olat.course.nodes.scorm.ScormRunController) ScormEditController(org.olat.course.nodes.scorm.ScormEditController) CPEditController(org.olat.course.nodes.cp.CPEditController) NodeEditController(org.olat.course.editor.NodeEditController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) IdentityListCourseNodeController(org.olat.course.assessment.ui.tool.IdentityListCourseNodeController) AssessmentCourseNodeController(org.olat.course.assessment.ui.tool.AssessmentCourseNodeController) Controller(org.olat.core.gui.control.Controller) ScormRunController(org.olat.course.nodes.scorm.ScormRunController) ScormResultDetailsController(org.olat.modules.scorm.assessment.ScormResultDetailsController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Example 2 with ScormRunController

use of org.olat.course.nodes.scorm.ScormRunController in project OpenOLAT by OpenOLAT.

the class ScormCourseNode method createPreviewController.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createPreviewController(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 Controller createPreviewController(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne) {
    updateModuleConfigDefaults(false);
    ScormRunController cprunC = new ScormRunController(getModuleConfiguration(), ureq, userCourseEnv, wControl, this, true);
    return new NodeRunConstructionResult(cprunC).getRunController();
}
Also used : ScormRunController(org.olat.course.nodes.scorm.ScormRunController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Example 3 with ScormRunController

use of org.olat.course.nodes.scorm.ScormRunController in project OpenOLAT by OpenOLAT.

the class ScormCourseNode 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);
    ScormRunController cprunC = new ScormRunController(getModuleConfiguration(), ureq, userCourseEnv, wControl, this, false);
    Controller ctrl = TitledWrapperHelper.getWrapper(ureq, wControl, cprunC, this, "o_scorm_icon");
    // no inline-in-olat-menu integration possible: no display configuration option
    return new NodeRunConstructionResult(ctrl);
}
Also used : ScormRunController(org.olat.course.nodes.scorm.ScormRunController) ScormEditController(org.olat.course.nodes.scorm.ScormEditController) CPEditController(org.olat.course.nodes.cp.CPEditController) NodeEditController(org.olat.course.editor.NodeEditController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) IdentityListCourseNodeController(org.olat.course.assessment.ui.tool.IdentityListCourseNodeController) AssessmentCourseNodeController(org.olat.course.assessment.ui.tool.AssessmentCourseNodeController) Controller(org.olat.core.gui.control.Controller) ScormRunController(org.olat.course.nodes.scorm.ScormRunController) ScormResultDetailsController(org.olat.modules.scorm.assessment.ScormResultDetailsController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Example 4 with ScormRunController

use of org.olat.course.nodes.scorm.ScormRunController in project openolat by klemens.

the class ScormCourseNode method createPreviewController.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createPreviewController(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 Controller createPreviewController(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne) {
    updateModuleConfigDefaults(false);
    ScormRunController cprunC = new ScormRunController(getModuleConfiguration(), ureq, userCourseEnv, wControl, this, true);
    return new NodeRunConstructionResult(cprunC).getRunController();
}
Also used : ScormRunController(org.olat.course.nodes.scorm.ScormRunController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Aggregations

ScormRunController (org.olat.course.nodes.scorm.ScormRunController)4 NodeRunConstructionResult (org.olat.course.run.navigation.NodeRunConstructionResult)4 Controller (org.olat.core.gui.control.Controller)2 TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)2 AssessmentCourseNodeController (org.olat.course.assessment.ui.tool.AssessmentCourseNodeController)2 IdentityListCourseNodeController (org.olat.course.assessment.ui.tool.IdentityListCourseNodeController)2 NodeEditController (org.olat.course.editor.NodeEditController)2 CPEditController (org.olat.course.nodes.cp.CPEditController)2 ScormEditController (org.olat.course.nodes.scorm.ScormEditController)2 ScormResultDetailsController (org.olat.modules.scorm.assessment.ScormResultDetailsController)2