Search in sources :

Example 1 with LLRunController

use of de.bps.course.nodes.ll.LLRunController in project OpenOLAT by OpenOLAT.

the class LLCourseNode method createNodeRunConstructionResult.

/**
 * {@inheritDoc}
 */
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    updateModuleConfigDefaults(false);
    Controller controller = new LLRunController(ureq, wControl, getModuleConfiguration(), this, userCourseEnv, true);
    controller = TitledWrapperHelper.getWrapper(ureq, wControl, controller, this, "o_ll_icon");
    return new NodeRunConstructionResult(controller);
}
Also used : TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) LLEditController(de.bps.course.nodes.ll.LLEditController) LLRunController(de.bps.course.nodes.ll.LLRunController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) ConditionEditController(org.olat.course.condition.ConditionEditController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult) LLRunController(de.bps.course.nodes.ll.LLRunController)

Example 2 with LLRunController

use of de.bps.course.nodes.ll.LLRunController in project openolat by klemens.

the class LLCourseNode method createPeekViewRunController.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createPeekViewRunController(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 createPeekViewRunController(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne) {
    updateModuleConfigDefaults(false);
    // Use normal view as peekview
    Controller controller = new LLRunController(ureq, wControl, getModuleConfiguration(), this, userCourseEnv, false);
    return controller;
}
Also used : TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) LLEditController(de.bps.course.nodes.ll.LLEditController) LLRunController(de.bps.course.nodes.ll.LLRunController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) ConditionEditController(org.olat.course.condition.ConditionEditController) LLRunController(de.bps.course.nodes.ll.LLRunController)

Example 3 with LLRunController

use of de.bps.course.nodes.ll.LLRunController in project openolat by klemens.

the class LLCourseNode method createNodeRunConstructionResult.

/**
 * {@inheritDoc}
 */
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    updateModuleConfigDefaults(false);
    Controller controller = new LLRunController(ureq, wControl, getModuleConfiguration(), this, userCourseEnv, true);
    controller = TitledWrapperHelper.getWrapper(ureq, wControl, controller, this, "o_ll_icon");
    return new NodeRunConstructionResult(controller);
}
Also used : TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) LLEditController(de.bps.course.nodes.ll.LLEditController) LLRunController(de.bps.course.nodes.ll.LLRunController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) ConditionEditController(org.olat.course.condition.ConditionEditController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult) LLRunController(de.bps.course.nodes.ll.LLRunController)

Example 4 with LLRunController

use of de.bps.course.nodes.ll.LLRunController in project OpenOLAT by OpenOLAT.

the class LLCourseNode method createPeekViewRunController.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createPeekViewRunController(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 createPeekViewRunController(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne) {
    updateModuleConfigDefaults(false);
    // Use normal view as peekview
    Controller controller = new LLRunController(ureq, wControl, getModuleConfiguration(), this, userCourseEnv, false);
    return controller;
}
Also used : TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) LLEditController(de.bps.course.nodes.ll.LLEditController) LLRunController(de.bps.course.nodes.ll.LLRunController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) ConditionEditController(org.olat.course.condition.ConditionEditController) LLRunController(de.bps.course.nodes.ll.LLRunController)

Example 5 with LLRunController

use of de.bps.course.nodes.ll.LLRunController in project OpenOLAT by OpenOLAT.

the class LLCourseNode 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) {
    Controller controller = new LLRunController(ureq, wControl, getModuleConfiguration(), this, userCourseEnv, true);
    controller = TitledWrapperHelper.getWrapper(ureq, wControl, controller, this, "o_ll_icon");
    return controller;
}
Also used : TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) LLEditController(de.bps.course.nodes.ll.LLEditController) LLRunController(de.bps.course.nodes.ll.LLRunController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) ConditionEditController(org.olat.course.condition.ConditionEditController) LLRunController(de.bps.course.nodes.ll.LLRunController)

Aggregations

LLEditController (de.bps.course.nodes.ll.LLEditController)6 LLRunController (de.bps.course.nodes.ll.LLRunController)6 Controller (org.olat.core.gui.control.Controller)6 TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)6 ConditionEditController (org.olat.course.condition.ConditionEditController)6 NodeEditController (org.olat.course.editor.NodeEditController)6 NodeRunConstructionResult (org.olat.course.run.navigation.NodeRunConstructionResult)2