use of org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController in project OpenOLAT by OpenOLAT.
the class LinkFileCombiCalloutController method doShowPreview.
private void doShowPreview(UserRequest ureq) {
SinglePageController previewController = new SinglePageController(ureq, getWindowControl(), file.getParentContainer(), file.getName(), false);
previewLayoutCtr = new LayoutMain3ColsPreviewController(ureq, getWindowControl(), null, previewController.getInitialComponent(), null);
previewLayoutCtr.addDisposableChildController(previewController);
previewLayoutCtr.activate();
listenTo(previewLayoutCtr);
}
use of org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController in project openolat by klemens.
the class LinkFileCombiCalloutController method doShowPreview.
private void doShowPreview(UserRequest ureq) {
SinglePageController previewController = new SinglePageController(ureq, getWindowControl(), file.getParentContainer(), file.getName(), false);
previewLayoutCtr = new LayoutMain3ColsPreviewController(ureq, getWindowControl(), null, previewController.getInitialComponent(), null);
previewLayoutCtr.addDisposableChildController(previewController);
previewLayoutCtr.activate();
listenTo(previewLayoutCtr);
}
use of org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController in project openolat by klemens.
the class LTIEditController method event.
/**
* @see org.olat.core.gui.control.DefaultController#event(org.olat.core.gui.UserRequest, org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)
*/
@Override
public void event(UserRequest ureq, Component source, Event event) {
if (source == previewButton) {
Controller runCtr = new LTIRunController(getWindowControl(), config, ureq, courseNode, editCourseEnv);
previewLayoutCtr = new LayoutMain3ColsPreviewController(ureq, getWindowControl(), null, runCtr.getInitialComponent(), null);
previewLayoutCtr.addDisposableChildController(runCtr);
previewLayoutCtr.activate();
listenTo(previewLayoutCtr);
}
}
Aggregations