Search in sources :

Example 1 with BusinessGroupEditController

use of org.olat.group.ui.edit.BusinessGroupEditController in project OpenOLAT by OpenOLAT.

the class BusinessGroupMainRunController method doAdministration.

private Activateable2 doAdministration(UserRequest ureq) {
    removeAsListenerAndDispose(bgEditCntrllr);
    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ORES_TOOLADMIN));
    WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ORES_TOOLADMIN, null, getWindowControl());
    addToHistory(ureq, bwControl);
    collabToolCtr = bgEditCntrllr = new BusinessGroupEditController(ureq, bwControl, toolbarPanel, businessGroup);
    listenTo(bgEditCntrllr);
    mainPanel.setContent(bgEditCntrllr.getInitialComponent());
    return bgEditCntrllr;
}
Also used : BusinessGroupEditController(org.olat.group.ui.edit.BusinessGroupEditController) WindowControl(org.olat.core.gui.control.WindowControl)

Example 2 with BusinessGroupEditController

use of org.olat.group.ui.edit.BusinessGroupEditController in project openolat by klemens.

the class BusinessGroupMainRunController method doAdministration.

private Activateable2 doAdministration(UserRequest ureq) {
    removeAsListenerAndDispose(bgEditCntrllr);
    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ORES_TOOLADMIN));
    WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ORES_TOOLADMIN, null, getWindowControl());
    addToHistory(ureq, bwControl);
    collabToolCtr = bgEditCntrllr = new BusinessGroupEditController(ureq, bwControl, toolbarPanel, businessGroup);
    listenTo(bgEditCntrllr);
    mainPanel.setContent(bgEditCntrllr.getInitialComponent());
    return bgEditCntrllr;
}
Also used : BusinessGroupEditController(org.olat.group.ui.edit.BusinessGroupEditController) WindowControl(org.olat.core.gui.control.WindowControl)

Aggregations

WindowControl (org.olat.core.gui.control.WindowControl)2 BusinessGroupEditController (org.olat.group.ui.edit.BusinessGroupEditController)2