Search in sources :

Example 1 with CheckListStepRunnerCallback

use of org.olat.course.nodes.cl.ui.wizard.CheckListStepRunnerCallback in project OpenOLAT by OpenOLAT.

the class EditorMainController method launchChecklistsWizard.

private void launchChecklistsWizard(UserRequest ureq) {
    removeAsListenerAndDispose(checklistWizard);
    Step start = new CheckList_1_CheckboxStep(ureq, ores);
    StepRunnerCallback finish = new CheckListStepRunnerCallback(ores);
    checklistWizard = new StepsMainRunController(ureq, getWindowControl(), start, finish, null, translate("checklist.wizard"), "o_sel_checklist_wizard", "Assessment#_checklist_multiple");
    listenTo(checklistWizard);
    getWindowControl().pushAsModalDialog(checklistWizard.getInitialComponent());
}
Also used : CheckList_1_CheckboxStep(org.olat.course.nodes.cl.ui.wizard.CheckList_1_CheckboxStep) StepsMainRunController(org.olat.core.gui.control.generic.wizard.StepsMainRunController) Step(org.olat.core.gui.control.generic.wizard.Step) CheckList_1_CheckboxStep(org.olat.course.nodes.cl.ui.wizard.CheckList_1_CheckboxStep) CheckListStepRunnerCallback(org.olat.course.nodes.cl.ui.wizard.CheckListStepRunnerCallback) StepRunnerCallback(org.olat.core.gui.control.generic.wizard.StepRunnerCallback) CheckListStepRunnerCallback(org.olat.course.nodes.cl.ui.wizard.CheckListStepRunnerCallback)

Example 2 with CheckListStepRunnerCallback

use of org.olat.course.nodes.cl.ui.wizard.CheckListStepRunnerCallback in project openolat by klemens.

the class EditorMainController method launchChecklistsWizard.

private void launchChecklistsWizard(UserRequest ureq) {
    removeAsListenerAndDispose(checklistWizard);
    Step start = new CheckList_1_CheckboxStep(ureq, ores);
    StepRunnerCallback finish = new CheckListStepRunnerCallback(ores);
    checklistWizard = new StepsMainRunController(ureq, getWindowControl(), start, finish, null, translate("checklist.wizard"), "o_sel_checklist_wizard", "Assessment#_checklist_multiple");
    listenTo(checklistWizard);
    getWindowControl().pushAsModalDialog(checklistWizard.getInitialComponent());
}
Also used : CheckList_1_CheckboxStep(org.olat.course.nodes.cl.ui.wizard.CheckList_1_CheckboxStep) StepsMainRunController(org.olat.core.gui.control.generic.wizard.StepsMainRunController) Step(org.olat.core.gui.control.generic.wizard.Step) CheckList_1_CheckboxStep(org.olat.course.nodes.cl.ui.wizard.CheckList_1_CheckboxStep) CheckListStepRunnerCallback(org.olat.course.nodes.cl.ui.wizard.CheckListStepRunnerCallback) StepRunnerCallback(org.olat.core.gui.control.generic.wizard.StepRunnerCallback) CheckListStepRunnerCallback(org.olat.course.nodes.cl.ui.wizard.CheckListStepRunnerCallback)

Aggregations

Step (org.olat.core.gui.control.generic.wizard.Step)2 StepRunnerCallback (org.olat.core.gui.control.generic.wizard.StepRunnerCallback)2 StepsMainRunController (org.olat.core.gui.control.generic.wizard.StepsMainRunController)2 CheckListStepRunnerCallback (org.olat.course.nodes.cl.ui.wizard.CheckListStepRunnerCallback)2 CheckList_1_CheckboxStep (org.olat.course.nodes.cl.ui.wizard.CheckList_1_CheckboxStep)2