Search in sources :

Example 1 with MySharedItemsController

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

the class PortfolioHomeController method doOpenMySharedItems.

private MySharedItemsController doOpenMySharedItems(UserRequest ureq) {
    removeAsListenerAndDispose(mySharedItemsCtrl);
    stackPanel.popUpToRootController(ureq);
    OLATResourceable pagesOres = OresHelper.createOLATResourceableInstance("MySharedItems", 0l);
    WindowControl swControl = addToHistory(ureq, pagesOres, null);
    mySharedItemsCtrl = new MySharedItemsController(ureq, swControl, stackPanel);
    listenTo(mySharedItemsCtrl);
    stackPanel.pushController(translate("my.shared.items"), mySharedItemsCtrl);
    return mySharedItemsCtrl;
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) MySharedItemsController(org.olat.modules.portfolio.ui.shared.MySharedItemsController) WindowControl(org.olat.core.gui.control.WindowControl)

Example 2 with MySharedItemsController

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

the class PortfolioHomeController method doOpenMySharedItems.

private MySharedItemsController doOpenMySharedItems(UserRequest ureq) {
    removeAsListenerAndDispose(mySharedItemsCtrl);
    stackPanel.popUpToRootController(ureq);
    OLATResourceable pagesOres = OresHelper.createOLATResourceableInstance("MySharedItems", 0l);
    WindowControl swControl = addToHistory(ureq, pagesOres, null);
    mySharedItemsCtrl = new MySharedItemsController(ureq, swControl, stackPanel);
    listenTo(mySharedItemsCtrl);
    stackPanel.pushController(translate("my.shared.items"), mySharedItemsCtrl);
    return mySharedItemsCtrl;
}
Also used : OLATResourceable(org.olat.core.id.OLATResourceable) MySharedItemsController(org.olat.modules.portfolio.ui.shared.MySharedItemsController) WindowControl(org.olat.core.gui.control.WindowControl)

Aggregations

WindowControl (org.olat.core.gui.control.WindowControl)2 OLATResourceable (org.olat.core.id.OLATResourceable)2 MySharedItemsController (org.olat.modules.portfolio.ui.shared.MySharedItemsController)2