Search in sources :

Example 6 with LayoutMain3ColsPreviewController

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);
}
Also used : SinglePageController(org.olat.core.commons.modules.singlepage.SinglePageController) LayoutMain3ColsPreviewController(org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController)

Example 7 with LayoutMain3ColsPreviewController

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);
}
Also used : SinglePageController(org.olat.core.commons.modules.singlepage.SinglePageController) LayoutMain3ColsPreviewController(org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController)

Example 8 with LayoutMain3ColsPreviewController

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);
    }
}
Also used : LayoutMain3ColsPreviewController(org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController) ActivateableTabbableDefaultController(org.olat.core.gui.control.generic.tabbable.ActivateableTabbableDefaultController) Controller(org.olat.core.gui.control.Controller) NodeEditController(org.olat.course.editor.NodeEditController) HighScoreEditController(org.olat.course.highscore.ui.HighScoreEditController) LayoutMain3ColsPreviewController(org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController) ConditionEditController(org.olat.course.condition.ConditionEditController)

Aggregations

LayoutMain3ColsPreviewController (org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController)8 LayoutMain3ColsBackController (org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController)2 SinglePageController (org.olat.core.commons.modules.singlepage.SinglePageController)2 Controller (org.olat.core.gui.control.Controller)2 ActivateableTabbableDefaultController (org.olat.core.gui.control.generic.tabbable.ActivateableTabbableDefaultController)2 ConditionEditController (org.olat.course.condition.ConditionEditController)2 NodeEditController (org.olat.course.editor.NodeEditController)2 HighScoreEditController (org.olat.course.highscore.ui.HighScoreEditController)2