Search in sources :

Example 1 with DialogCourseNodeRunController

use of org.olat.course.nodes.dialog.ui.DialogCourseNodeRunController in project OpenOLAT by OpenOLAT.

the class DialogCourseNode method createNodeRunConstructionResult.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment,
 *      org.olat.course.run.userview.NodeEvaluation, java.lang.String)
 */
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    DialogCourseNodeRunController ctrl = new DialogCourseNodeRunController(ureq, wControl, this, userCourseEnv, ne);
    Controller wrappedCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, ctrl, this, "o_dialog_icon");
    return new NodeRunConstructionResult(wrappedCtrl);
}
Also used : DialogCourseNodeRunController(org.olat.course.nodes.dialog.ui.DialogCourseNodeRunController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) DialogCourseNodeRunController(org.olat.course.nodes.dialog.ui.DialogCourseNodeRunController) DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) NodeRunConstructionResult(org.olat.course.run.navigation.NodeRunConstructionResult)

Example 2 with DialogCourseNodeRunController

use of org.olat.course.nodes.dialog.ui.DialogCourseNodeRunController in project openolat by klemens.

the class DialogCourseNode method createNodeRunConstructionResult.

/**
 * @see org.olat.course.nodes.GenericCourseNode#createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl,
 *      org.olat.course.run.userview.UserCourseEnvironment,
 *      org.olat.course.run.userview.NodeEvaluation, java.lang.String)
 */
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    DialogCourseNodeRunController ctrl = new DialogCourseNodeRunController(ureq, wControl, this, userCourseEnv, ne);
    Controller wrappedCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, ctrl, this, "o_dialog_icon");
    return new NodeRunConstructionResult(wrappedCtrl);
}
Also used : DialogCourseNodeRunController(org.olat.course.nodes.dialog.ui.DialogCourseNodeRunController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) DialogCourseNodeRunController(org.olat.course.nodes.dialog.ui.DialogCourseNodeRunController) DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) 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 DialogCourseNodeEditController (org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController)2 DialogCourseNodeRunController (org.olat.course.nodes.dialog.ui.DialogCourseNodeRunController)2 NodeRunConstructionResult (org.olat.course.run.navigation.NodeRunConstructionResult)2