Search in sources :

Example 1 with EPArtefactPoolRunController

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();
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) EPArtefactPoolRunController(org.olat.portfolio.ui.EPArtefactPoolRunController)

Example 2 with EPArtefactPoolRunController

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();
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) EPArtefactPoolRunController(org.olat.portfolio.ui.EPArtefactPoolRunController)

Example 3 with EPArtefactPoolRunController

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();
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) EPArtefactPoolRunController(org.olat.portfolio.ui.EPArtefactPoolRunController)

Example 4 with EPArtefactPoolRunController

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();
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) EPArtefactPoolRunController(org.olat.portfolio.ui.EPArtefactPoolRunController)

Aggregations

CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)4 EPArtefactPoolRunController (org.olat.portfolio.ui.EPArtefactPoolRunController)4