Search in sources :

Example 6 with CollectArtefactController

use of org.olat.modules.portfolio.ui.wizard.CollectArtefactController in project openolat by klemens.

the class CertificateAndEfficiencyStatementListController method doCollectMedia.

private void doCollectMedia(UserRequest ureq, String title, Long efficiencyStatementKey) {
    if (collectorCtrl != null)
        return;
    EfficiencyStatement fullStatement = esm.getUserEfficiencyStatementByKey(efficiencyStatementKey);
    collectorCtrl = new CollectArtefactController(ureq, getWindowControl(), fullStatement, mediaHandler, "");
    listenTo(collectorCtrl);
    cmc = new CloseableModalController(getWindowControl(), null, collectorCtrl.getInitialComponent(), true, title, true);
    cmc.addControllerListener(this);
    cmc.activate();
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) CollectArtefactController(org.olat.modules.portfolio.ui.wizard.CollectArtefactController) EfficiencyStatement(org.olat.course.assessment.EfficiencyStatement) CertificateAndEfficiencyStatement(org.olat.course.certificate.ui.CertificateAndEfficiencyStatementListModel.CertificateAndEfficiencyStatement)

Aggregations

CollectArtefactController (org.olat.modules.portfolio.ui.wizard.CollectArtefactController)6 CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)4 EfficiencyStatement (org.olat.course.assessment.EfficiencyStatement)2 CertificateAndEfficiencyStatement (org.olat.course.certificate.ui.CertificateAndEfficiencyStatementListModel.CertificateAndEfficiencyStatement)2 MediaHandler (org.olat.modules.portfolio.MediaHandler)2 PortfolioService (org.olat.modules.portfolio.PortfolioService)2 AbstractArtefact (org.olat.portfolio.model.artefacts.AbstractArtefact)2