Search in sources :

Example 1 with PortfolioPersonalToolController

use of org.olat.modules.portfolio.ui.PortfolioPersonalToolController in project OpenOLAT by OpenOLAT.

the class PortfolioSite method createController.

@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
    OLATResourceable ores = OresHelper.createOLATResourceableInstance(PortfolioSite.class, 0l);
    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
    WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
    PortfolioPersonalToolController mainController = new PortfolioPersonalToolController(ureq, bwControl);
    return mainController;
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) StateSite(org.olat.core.id.context.StateSite) WindowControl(org.olat.core.gui.control.WindowControl) PortfolioPersonalToolController(org.olat.modules.portfolio.ui.PortfolioPersonalToolController)

Example 2 with PortfolioPersonalToolController

use of org.olat.modules.portfolio.ui.PortfolioPersonalToolController in project openolat by klemens.

the class PortfolioSite method createController.

@Override
protected Controller createController(UserRequest ureq, WindowControl wControl, SiteConfiguration config) {
    OLATResourceable ores = OresHelper.createOLATResourceableInstance(PortfolioSite.class, 0l);
    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrapBusinessPath(ores));
    WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ureq, ores, new StateSite(this), wControl, true);
    PortfolioPersonalToolController mainController = new PortfolioPersonalToolController(ureq, bwControl);
    return mainController;
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) StateSite(org.olat.core.id.context.StateSite) WindowControl(org.olat.core.gui.control.WindowControl) PortfolioPersonalToolController(org.olat.modules.portfolio.ui.PortfolioPersonalToolController)

Aggregations

WindowControl (org.olat.core.gui.control.WindowControl)2 OLATResourceable (org.olat.core.id.OLATResourceable)2 StateSite (org.olat.core.id.context.StateSite)2 PortfolioPersonalToolController (org.olat.modules.portfolio.ui.PortfolioPersonalToolController)2