use of org.olat.modules.portfolio.ui.media.CollectTextMediaController in project OpenOLAT by OpenOLAT.
the class MediaCenterController method doAddTextMedia.
private void doAddTextMedia(UserRequest ureq) {
if (textUploadCtrl != null)
return;
textUploadCtrl = new CollectTextMediaController(ureq, getWindowControl());
listenTo(textUploadCtrl);
String title = translate("add.text");
cmc = new CloseableModalController(getWindowControl(), null, textUploadCtrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.modules.portfolio.ui.media.CollectTextMediaController in project openolat by klemens.
the class MediaCenterController method doAddTextMedia.
private void doAddTextMedia(UserRequest ureq) {
if (textUploadCtrl != null)
return;
textUploadCtrl = new CollectTextMediaController(ureq, getWindowControl());
listenTo(textUploadCtrl);
String title = translate("add.text");
cmc = new CloseableModalController(getWindowControl(), null, textUploadCtrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
Aggregations