Search in sources :

Example 1 with CollectCitationMediaController

use of org.olat.modules.portfolio.ui.media.CollectCitationMediaController in project OpenOLAT by OpenOLAT.

the class MediaCenterController method doAddCitationMedia.

private void doAddCitationMedia(UserRequest ureq) {
    if (citationUploadCtrl != null)
        return;
    citationUploadCtrl = new CollectCitationMediaController(ureq, getWindowControl());
    listenTo(citationUploadCtrl);
    String title = translate("add.citation");
    cmc = new CloseableModalController(getWindowControl(), null, citationUploadCtrl.getInitialComponent(), true, title, true);
    listenTo(cmc);
    cmc.activate();
}
Also used : CollectCitationMediaController(org.olat.modules.portfolio.ui.media.CollectCitationMediaController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)

Example 2 with CollectCitationMediaController

use of org.olat.modules.portfolio.ui.media.CollectCitationMediaController in project openolat by klemens.

the class MediaCenterController method doAddCitationMedia.

private void doAddCitationMedia(UserRequest ureq) {
    if (citationUploadCtrl != null)
        return;
    citationUploadCtrl = new CollectCitationMediaController(ureq, getWindowControl());
    listenTo(citationUploadCtrl);
    String title = translate("add.citation");
    cmc = new CloseableModalController(getWindowControl(), null, citationUploadCtrl.getInitialComponent(), true, title, true);
    listenTo(cmc);
    cmc.activate();
}
Also used : CollectCitationMediaController(org.olat.modules.portfolio.ui.media.CollectCitationMediaController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)

Aggregations

CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)2 CollectCitationMediaController (org.olat.modules.portfolio.ui.media.CollectCitationMediaController)2