use of org.olat.portfolio.ui.EPArtefactPoolRunController in project OpenOLAT by OpenOLAT.
the class MediaCenterController method doChooseArtefactV1.
private void doChooseArtefactV1(UserRequest ureq) {
if (importArtefactv1Ctrl != null)
return;
importArtefactv1Ctrl = new EPArtefactPoolRunController(ureq, this.getWindowControl(), true, false, true);
listenTo(importArtefactv1Ctrl);
String title = translate("import.artefactV1");
cmc = new CloseableModalController(getWindowControl(), null, importArtefactv1Ctrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.portfolio.ui.EPArtefactPoolRunController in project OpenOLAT by OpenOLAT.
the class EPAddElementsController method popUpAddArtefactBox.
private void popUpAddArtefactBox(UserRequest ureq) {
if (artefactPoolCtrl == null) {
artefactPoolCtrl = new EPArtefactPoolRunController(ureq, getWindowControl(), true, true);
listenTo(artefactPoolCtrl);
}
artefactBox = new CloseableModalController(getWindowControl(), "close", artefactPoolCtrl.getInitialComponent(), true, translate("choose.artefact.title"));
artefactPoolCtrl.setPreSelectedStruct(portfolioStructure);
listenTo(artefactBox);
artefactBox.activate();
}
use of org.olat.portfolio.ui.EPArtefactPoolRunController in project openolat by klemens.
the class EPAddElementsController method popUpAddArtefactBox.
private void popUpAddArtefactBox(UserRequest ureq) {
if (artefactPoolCtrl == null) {
artefactPoolCtrl = new EPArtefactPoolRunController(ureq, getWindowControl(), true, true);
listenTo(artefactPoolCtrl);
}
artefactBox = new CloseableModalController(getWindowControl(), "close", artefactPoolCtrl.getInitialComponent(), true, translate("choose.artefact.title"));
artefactPoolCtrl.setPreSelectedStruct(portfolioStructure);
listenTo(artefactBox);
artefactBox.activate();
}
use of org.olat.portfolio.ui.EPArtefactPoolRunController in project openolat by klemens.
the class MediaCenterController method doChooseArtefactV1.
private void doChooseArtefactV1(UserRequest ureq) {
if (importArtefactv1Ctrl != null)
return;
importArtefactv1Ctrl = new EPArtefactPoolRunController(ureq, this.getWindowControl(), true, false, true);
listenTo(importArtefactv1Ctrl);
String title = translate("import.artefactV1");
cmc = new CloseableModalController(getWindowControl(), null, importArtefactv1Ctrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
Aggregations