Search in sources :

Example 1 with ImpressumDmzMainController

use of org.olat.core.commons.controllers.impressum.ImpressumDmzMainController in project OpenOLAT by OpenOLAT.

the class OlatDmzTopNavController method doImpressum.

private void doImpressum(UserRequest ureq) {
    ControllerCreator impressumControllerCreator = new ControllerCreator() {

        @Override
        public Controller createController(UserRequest lureq, WindowControl lwControl) {
            return new ImpressumDmzMainController(lureq, lwControl);
        }
    };
    PopupBrowserWindow popupBrowserWindow = Windows.getWindows(ureq).getWindowManager().createNewUnauthenticatedPopupWindowFor(ureq, impressumControllerCreator);
    popupBrowserWindow.open(ureq);
}
Also used : ImpressumDmzMainController(org.olat.core.commons.controllers.impressum.ImpressumDmzMainController) PopupBrowserWindow(org.olat.core.gui.control.generic.popup.PopupBrowserWindow) WindowControl(org.olat.core.gui.control.WindowControl) ControllerCreator(org.olat.core.gui.control.creator.ControllerCreator) UserRequest(org.olat.core.gui.UserRequest)

Example 2 with ImpressumDmzMainController

use of org.olat.core.commons.controllers.impressum.ImpressumDmzMainController in project openolat by klemens.

the class OlatDmzTopNavController method doImpressum.

private void doImpressum(UserRequest ureq) {
    ControllerCreator impressumControllerCreator = new ControllerCreator() {

        @Override
        public Controller createController(UserRequest lureq, WindowControl lwControl) {
            return new ImpressumDmzMainController(lureq, lwControl);
        }
    };
    PopupBrowserWindow popupBrowserWindow = Windows.getWindows(ureq).getWindowManager().createNewUnauthenticatedPopupWindowFor(ureq, impressumControllerCreator);
    popupBrowserWindow.open(ureq);
}
Also used : ImpressumDmzMainController(org.olat.core.commons.controllers.impressum.ImpressumDmzMainController) PopupBrowserWindow(org.olat.core.gui.control.generic.popup.PopupBrowserWindow) WindowControl(org.olat.core.gui.control.WindowControl) ControllerCreator(org.olat.core.gui.control.creator.ControllerCreator) UserRequest(org.olat.core.gui.UserRequest)

Aggregations

ImpressumDmzMainController (org.olat.core.commons.controllers.impressum.ImpressumDmzMainController)2 UserRequest (org.olat.core.gui.UserRequest)2 WindowControl (org.olat.core.gui.control.WindowControl)2 ControllerCreator (org.olat.core.gui.control.creator.ControllerCreator)2 PopupBrowserWindow (org.olat.core.gui.control.generic.popup.PopupBrowserWindow)2