use of org.olat.modules.qpool.ui.wizard.ImportAuthor_1_ChooseMemberStep in project OpenOLAT by OpenOLAT.
the class QuestionListController method doChooseAuthors.
private void doChooseAuthors(UserRequest ureq, List<QuestionItemShort> items) {
removeAsListenerAndDispose(importAuthorsWizard);
Step start = new ImportAuthor_1_ChooseMemberStep(ureq, items);
StepRunnerCallback finish = new StepRunnerCallback() {
@Override
public Step execute(UserRequest uureq, WindowControl wControl, StepsRunContext runContext) {
addAuthors(runContext);
return StepsMainRunController.DONE_MODIFIED;
}
};
importAuthorsWizard = new StepsMainRunController(ureq, getWindowControl(), start, finish, null, translate("author.item"), "o_sel_qpool_import_1_wizard");
listenTo(importAuthorsWizard);
getWindowControl().pushAsModalDialog(importAuthorsWizard.getInitialComponent());
}
use of org.olat.modules.qpool.ui.wizard.ImportAuthor_1_ChooseMemberStep in project openolat by klemens.
the class QuestionListController method doChooseAuthors.
private void doChooseAuthors(UserRequest ureq, List<QuestionItemShort> items) {
removeAsListenerAndDispose(importAuthorsWizard);
Step start = new ImportAuthor_1_ChooseMemberStep(ureq, items);
StepRunnerCallback finish = new StepRunnerCallback() {
@Override
public Step execute(UserRequest uureq, WindowControl wControl, StepsRunContext runContext) {
addAuthors(runContext);
return StepsMainRunController.DONE_MODIFIED;
}
};
importAuthorsWizard = new StepsMainRunController(ureq, getWindowControl(), start, finish, null, translate("author.item"), "o_sel_qpool_import_1_wizard");
listenTo(importAuthorsWizard);
getWindowControl().pushAsModalDialog(importAuthorsWizard.getInitialComponent());
}
Aggregations