Search in sources :

Example 1 with LayoutMain3ColsBackController

use of org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController in project OpenOLAT by OpenOLAT.

the class ScormAPIandDisplayController method activate.

public void activate() {
    if (columnLayoutCtr instanceof LayoutMain3ColsPreviewController) {
        LayoutMain3ColsPreviewController ctrl = (LayoutMain3ColsPreviewController) columnLayoutCtr;
        ctrl.activate();
    } else if (columnLayoutCtr instanceof LayoutMain3ColsBackController) {
        LayoutMain3ColsBackController ctrl = (LayoutMain3ColsBackController) columnLayoutCtr;
        ctrl.activate();
    }
}
Also used : LayoutMain3ColsPreviewController(org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController) LayoutMain3ColsBackController(org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController)

Example 2 with LayoutMain3ColsBackController

use of org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController in project openolat by klemens.

the class ScormAPIandDisplayController method activate.

public void activate() {
    if (columnLayoutCtr instanceof LayoutMain3ColsPreviewController) {
        LayoutMain3ColsPreviewController ctrl = (LayoutMain3ColsPreviewController) columnLayoutCtr;
        ctrl.activate();
    } else if (columnLayoutCtr instanceof LayoutMain3ColsBackController) {
        LayoutMain3ColsBackController ctrl = (LayoutMain3ColsBackController) columnLayoutCtr;
        ctrl.activate();
    }
}
Also used : LayoutMain3ColsPreviewController(org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController) LayoutMain3ColsBackController(org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController)

Example 3 with LayoutMain3ColsBackController

use of org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController in project openolat by klemens.

the class ScormAPIandDisplayController method configurationChanged.

@Override
public void configurationChanged() {
    if (columnLayoutCtr instanceof LayoutMain3ColsBackController) {
        LayoutMain3ColsBackController layoutCtr = (LayoutMain3ColsBackController) columnLayoutCtr;
        layoutCtr.deactivate();
    } else if (columnLayoutCtr instanceof LayoutMain3ColsController) {
        LayoutMain3ColsController layoutCtr = (LayoutMain3ColsController) columnLayoutCtr;
        layoutCtr.deactivate(null);
    }
}
Also used : LayoutMain3ColsController(org.olat.core.commons.fullWebApp.LayoutMain3ColsController) LayoutMain3ColsBackController(org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController)

Example 4 with LayoutMain3ColsBackController

use of org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController in project OpenOLAT by OpenOLAT.

the class ScormAPIandDisplayController method configurationChanged.

@Override
public void configurationChanged() {
    if (columnLayoutCtr instanceof LayoutMain3ColsBackController) {
        LayoutMain3ColsBackController layoutCtr = (LayoutMain3ColsBackController) columnLayoutCtr;
        layoutCtr.deactivate();
    } else if (columnLayoutCtr instanceof LayoutMain3ColsController) {
        LayoutMain3ColsController layoutCtr = (LayoutMain3ColsController) columnLayoutCtr;
        layoutCtr.deactivate(null);
    }
}
Also used : LayoutMain3ColsController(org.olat.core.commons.fullWebApp.LayoutMain3ColsController) LayoutMain3ColsBackController(org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController)

Example 5 with LayoutMain3ColsBackController

use of org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController in project OpenOLAT by OpenOLAT.

the class PortfolioResultDetailsController method doOpenMap.

private void doOpenMap(UserRequest ureq, PortfolioStructureMap map) {
    EPSecurityCallback secCallback = new EPSecurityCallbackImpl(false, true);
    Controller viewCtr = EPUIFactory.createPortfolioStructureMapController(ureq, getWindowControl(), map, secCallback);
    listenTo(viewCtr);
    if (stackPanel == null) {
        LayoutMain3ColsBackController ctr = new LayoutMain3ColsBackController(ureq, getWindowControl(), null, viewCtr.getInitialComponent(), "portfolio" + map.getKey());
        ctr.activate();
    } else {
        LayoutMain3ColsController ctr = new LayoutMain3ColsController(ureq, getWindowControl(), viewCtr);
        stackPanel.pushController(translate("preview.map"), ctr);
    }
}
Also used : LayoutMain3ColsController(org.olat.core.commons.fullWebApp.LayoutMain3ColsController) EPSecurityCallback(org.olat.portfolio.EPSecurityCallback) FormBasicController(org.olat.core.gui.components.form.flexible.impl.FormBasicController) LayoutMain3ColsBackController(org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController) BinderController(org.olat.modules.portfolio.ui.BinderController) LayoutMain3ColsController(org.olat.core.commons.fullWebApp.LayoutMain3ColsController) Controller(org.olat.core.gui.control.Controller) CloseableCalloutWindowController(org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController) EPSecurityCallbackImpl(org.olat.portfolio.EPSecurityCallbackImpl) LayoutMain3ColsBackController(org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController)

Aggregations

LayoutMain3ColsBackController (org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController)6 LayoutMain3ColsController (org.olat.core.commons.fullWebApp.LayoutMain3ColsController)4 LayoutMain3ColsPreviewController (org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController)2 FormBasicController (org.olat.core.gui.components.form.flexible.impl.FormBasicController)2 Controller (org.olat.core.gui.control.Controller)2 CloseableCalloutWindowController (org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController)2 BinderController (org.olat.modules.portfolio.ui.BinderController)2 EPSecurityCallback (org.olat.portfolio.EPSecurityCallback)2 EPSecurityCallbackImpl (org.olat.portfolio.EPSecurityCallbackImpl)2