use of org.olat.modules.qpool.ui.datasource.WithoutTaxonomyLevelItemSource in project openolat by klemens.
the class WithoutTaxonomyLevelTreeNode method getController.
@Override
public Controller getController(UserRequest ureq, WindowControl wControl) {
if (questionsCtrl == null) {
QuestionItemsSource source = new WithoutTaxonomyLevelItemSource(ureq.getIdentity(), ureq.getUserSession().getRoles(), WITHOUT_TAXONOMY_LEVEL);
WindowControl swControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ORES, null, wControl, true);
questionsCtrl = new QuestionsController(ureq, swControl, stackPanel, source, securityCallback, WITHOUT_TAXONOMY_LEVEL, true);
} else {
questionsCtrl.updateSource();
}
return questionsCtrl;
}
use of org.olat.modules.qpool.ui.datasource.WithoutTaxonomyLevelItemSource in project OpenOLAT by OpenOLAT.
the class WithoutTaxonomyLevelTreeNode method getController.
@Override
public Controller getController(UserRequest ureq, WindowControl wControl) {
if (questionsCtrl == null) {
QuestionItemsSource source = new WithoutTaxonomyLevelItemSource(ureq.getIdentity(), ureq.getUserSession().getRoles(), WITHOUT_TAXONOMY_LEVEL);
WindowControl swControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ORES, null, wControl, true);
questionsCtrl = new QuestionsController(ureq, swControl, stackPanel, source, securityCallback, WITHOUT_TAXONOMY_LEVEL, true);
} else {
questionsCtrl.updateSource();
}
return questionsCtrl;
}
Aggregations