use of org.olat.modules.qpool.ui.SelectItemController in project OpenOLAT by OpenOLAT.
the class QTIEditorMainController method doSelectQItem.
private void doSelectQItem(UserRequest ureq) {
removeAsListenerAndDispose(cmc);
removeAsListenerAndDispose(selectQItemCtrl);
selectQItemCtrl = new SelectItemController(ureq, getWindowControl(), QTIConstants.QTI_12_FORMAT);
listenTo(selectQItemCtrl);
cmc = new CloseableModalController(getWindowControl(), translate("close"), selectQItemCtrl.getInitialComponent(), true, translate("title.add"));
cmc.activate();
listenTo(cmc);
}
use of org.olat.modules.qpool.ui.SelectItemController in project openolat by klemens.
the class AssessmentTestComposerController method doSelectQItem.
private void doSelectQItem(UserRequest ureq) {
removeAsListenerAndDispose(cmc);
removeAsListenerAndDispose(selectQItemCtrl);
selectQItemCtrl = new SelectItemController(ureq, getWindowControl(), QTI21Constants.QTI_21_FORMAT);
listenTo(selectQItemCtrl);
cmc = new CloseableModalController(getWindowControl(), translate("close"), selectQItemCtrl.getInitialComponent(), true, translate("title.add"));
cmc.activate();
listenTo(cmc);
}
use of org.olat.modules.qpool.ui.SelectItemController in project OpenOLAT by OpenOLAT.
the class AssessmentTestComposerController method doSelectQItem.
private void doSelectQItem(UserRequest ureq) {
removeAsListenerAndDispose(cmc);
removeAsListenerAndDispose(selectQItemCtrl);
selectQItemCtrl = new SelectItemController(ureq, getWindowControl(), QTI21Constants.QTI_21_FORMAT);
listenTo(selectQItemCtrl);
cmc = new CloseableModalController(getWindowControl(), translate("close"), selectQItemCtrl.getInitialComponent(), true, translate("title.add"));
cmc.activate();
listenTo(cmc);
}
use of org.olat.modules.qpool.ui.SelectItemController in project openolat by klemens.
the class QTIEditorMainController method doSelectQItem.
private void doSelectQItem(UserRequest ureq) {
removeAsListenerAndDispose(cmc);
removeAsListenerAndDispose(selectQItemCtrl);
selectQItemCtrl = new SelectItemController(ureq, getWindowControl(), QTIConstants.QTI_12_FORMAT);
listenTo(selectQItemCtrl);
cmc = new CloseableModalController(getWindowControl(), translate("close"), selectQItemCtrl.getInitialComponent(), true, translate("title.add"));
cmc.activate();
listenTo(cmc);
}
Aggregations