Search in sources :

Example 1 with EPCreateFileArtefactStepForm00

use of org.olat.portfolio.ui.artefacts.collect.EPCreateFileArtefactStepForm00 in project openolat by klemens.

the class FileArtefactDetailsController method popupUploadCallout.

private void popupUploadCallout(UserRequest ureq) {
    removeAsListenerAndDispose(fileUploadCtrl);
    fileUploadCtrl = new EPCreateFileArtefactStepForm00(ureq, getWindowControl(), fArtefact);
    listenTo(fileUploadCtrl);
    removeAsListenerAndDispose(calloutCtrl);
    calloutCtrl = new CloseableCalloutWindowController(ureq, getWindowControl(), fileUploadCtrl.getInitialComponent(), uploadLink, fArtefact.getTitle(), true, null);
    calloutCtrl.addDisposableChildController(fileUploadCtrl);
    listenTo(calloutCtrl);
    calloutCtrl.activate();
}
Also used : EPCreateFileArtefactStepForm00(org.olat.portfolio.ui.artefacts.collect.EPCreateFileArtefactStepForm00) CloseableCalloutWindowController(org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController)

Example 2 with EPCreateFileArtefactStepForm00

use of org.olat.portfolio.ui.artefacts.collect.EPCreateFileArtefactStepForm00 in project OpenOLAT by OpenOLAT.

the class FileArtefactDetailsController method popupUploadCallout.

private void popupUploadCallout(UserRequest ureq) {
    removeAsListenerAndDispose(fileUploadCtrl);
    fileUploadCtrl = new EPCreateFileArtefactStepForm00(ureq, getWindowControl(), fArtefact);
    listenTo(fileUploadCtrl);
    removeAsListenerAndDispose(calloutCtrl);
    calloutCtrl = new CloseableCalloutWindowController(ureq, getWindowControl(), fileUploadCtrl.getInitialComponent(), uploadLink, fArtefact.getTitle(), true, null);
    calloutCtrl.addDisposableChildController(fileUploadCtrl);
    listenTo(calloutCtrl);
    calloutCtrl.activate();
}
Also used : EPCreateFileArtefactStepForm00(org.olat.portfolio.ui.artefacts.collect.EPCreateFileArtefactStepForm00) CloseableCalloutWindowController(org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController)

Aggregations

CloseableCalloutWindowController (org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController)2 EPCreateFileArtefactStepForm00 (org.olat.portfolio.ui.artefacts.collect.EPCreateFileArtefactStepForm00)2