Search in sources :

Example 1 with MetadataBulkChangeController

use of org.olat.modules.qpool.ui.metadata.MetadataBulkChangeController in project OpenOLAT by OpenOLAT.

the class QuestionListController method doBulkChange.

private void doBulkChange(UserRequest ureq, List<ItemRow> items) {
    removeAsListenerAndDispose(bulkChangeCtrl);
    bulkChangeCtrl = new MetadataBulkChangeController(ureq, getWindowControl(), getSecurityCallback(), items, getSource().isAdminItemSource());
    listenTo(bulkChangeCtrl);
    cmc = new CloseableModalController(getWindowControl(), translate("close"), bulkChangeCtrl.getInitialComponent(), true, translate("bulk.change"));
    cmc.activate();
    listenTo(cmc);
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) MetadataBulkChangeController(org.olat.modules.qpool.ui.metadata.MetadataBulkChangeController)

Example 2 with MetadataBulkChangeController

use of org.olat.modules.qpool.ui.metadata.MetadataBulkChangeController in project openolat by klemens.

the class QuestionListController method doBulkChange.

private void doBulkChange(UserRequest ureq, List<ItemRow> items) {
    removeAsListenerAndDispose(bulkChangeCtrl);
    bulkChangeCtrl = new MetadataBulkChangeController(ureq, getWindowControl(), getSecurityCallback(), items, getSource().isAdminItemSource());
    listenTo(bulkChangeCtrl);
    cmc = new CloseableModalController(getWindowControl(), translate("close"), bulkChangeCtrl.getInitialComponent(), true, translate("bulk.change"));
    cmc.activate();
    listenTo(cmc);
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) MetadataBulkChangeController(org.olat.modules.qpool.ui.metadata.MetadataBulkChangeController)

Aggregations

CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)2 MetadataBulkChangeController (org.olat.modules.qpool.ui.metadata.MetadataBulkChangeController)2