use of org.olat.group.ui.main.SelectBusinessGroupController in project OpenOLAT by OpenOLAT.
the class QuestionListController method doSelectGroup.
protected void doSelectGroup(UserRequest ureq, List<QuestionItemShort> items) {
removeAsListenerAndDispose(selectGroupCtrl);
selectGroupCtrl = new SelectBusinessGroupController(ureq, getWindowControl());
selectGroupCtrl.setUserObject(items);
listenTo(selectGroupCtrl);
cmc = new CloseableModalController(getWindowControl(), translate("close"), selectGroupCtrl.getInitialComponent(), true, translate("select.group"));
cmc.setContextHelp(getTranslator(), "Data Management#qb_share");
cmc.activate();
listenTo(cmc);
}
use of org.olat.group.ui.main.SelectBusinessGroupController in project openolat by klemens.
the class EPShareListController method doSelectGroup.
protected void doSelectGroup(UserRequest ureq, EPSharePolicyWrapper wrapper) {
removeAsListenerAndDispose(selectGroupCtrl);
selectGroupCtrl = new SelectBusinessGroupController(ureq, getWindowControl());
selectGroupCtrl.setUserObject(wrapper);
listenTo(selectGroupCtrl);
cmc = new CloseableModalController(getWindowControl(), translate("close"), selectGroupCtrl.getInitialComponent(), true, translate("choose.group"));
cmc.activate();
listenTo(cmc);
}
use of org.olat.group.ui.main.SelectBusinessGroupController in project openolat by klemens.
the class CourseBusinessGroupListController method doSelectGroups.
protected void doSelectGroups(UserRequest ureq) {
removeAsListenerAndDispose(selectController);
BusinessGroupViewFilter filter = new UnmanagedGroupFilter(BusinessGroupManagedFlag.resources);
selectController = new SelectBusinessGroupController(ureq, getWindowControl(), filter);
listenTo(selectController);
cmc = new CloseableModalController(getWindowControl(), translate("close"), selectController.getInitialComponent(), true, translate("select.group"));
cmc.activate();
listenTo(cmc);
}
Aggregations