Search in sources :

Example 1 with EPCreateMapController

use of org.olat.portfolio.ui.structel.EPCreateMapController in project openolat by klemens.

the class EPMapRunController method popUpCreateMapBox.

/**
 * @param ureq
 */
private void popUpCreateMapBox(UserRequest ureq) {
    String title = translate("create.map");
    createMapCtrl = new EPCreateMapController(ureq, getWindowControl());
    listenTo(createMapCtrl);
    createMapBox = new CloseableModalController(getWindowControl(), title, createMapCtrl.getInitialComponent(), true, title);
    createMapBox.setCustomWindowCSS("o_sel_add_map_window");
    listenTo(createMapBox);
    createMapBox.activate();
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) EPCreateMapController(org.olat.portfolio.ui.structel.EPCreateMapController)

Example 2 with EPCreateMapController

use of org.olat.portfolio.ui.structel.EPCreateMapController in project OpenOLAT by OpenOLAT.

the class EPMapRunController method popUpCreateMapBox.

/**
 * @param ureq
 */
private void popUpCreateMapBox(UserRequest ureq) {
    String title = translate("create.map");
    createMapCtrl = new EPCreateMapController(ureq, getWindowControl());
    listenTo(createMapCtrl);
    createMapBox = new CloseableModalController(getWindowControl(), title, createMapCtrl.getInitialComponent(), true, title);
    createMapBox.setCustomWindowCSS("o_sel_add_map_window");
    listenTo(createMapBox);
    createMapBox.activate();
}
Also used : CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) EPCreateMapController(org.olat.portfolio.ui.structel.EPCreateMapController)

Aggregations

CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)2 EPCreateMapController (org.olat.portfolio.ui.structel.EPCreateMapController)2