Search in sources :

Example 1 with SelectItemController

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);
}
Also used : SelectItemController(org.olat.modules.qpool.ui.SelectItemController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)

Example 2 with SelectItemController

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);
}
Also used : SelectItemController(org.olat.modules.qpool.ui.SelectItemController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)

Example 3 with SelectItemController

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);
}
Also used : SelectItemController(org.olat.modules.qpool.ui.SelectItemController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)

Example 4 with SelectItemController

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);
}
Also used : SelectItemController(org.olat.modules.qpool.ui.SelectItemController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)

Aggregations

CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)4 SelectItemController (org.olat.modules.qpool.ui.SelectItemController)4