Search in sources :

Example 1 with RepositoryMembersController

use of org.olat.repository.ui.author.RepositoryMembersController in project OpenOLAT by OpenOLAT.

the class RepositoryEntryRuntimeController method doMembers.

protected Activateable2 doMembers(UserRequest ureq) {
    if (!reSecurity.isEntryAdmin())
        return null;
    WindowControl bwControl = getSubWindowControl("MembersMgmt");
    RepositoryMembersController ctrl = new RepositoryMembersController(ureq, addToHistory(ureq, bwControl), toolbarPanel, re);
    listenTo(ctrl);
    membersEditController = pushController(ureq, translate("details.members"), ctrl);
    currentToolCtr = membersEditController;
    setActiveTool(membersLink);
    return membersEditController;
}
Also used : WindowControl(org.olat.core.gui.control.WindowControl) RepositoryMembersController(org.olat.repository.ui.author.RepositoryMembersController)

Example 2 with RepositoryMembersController

use of org.olat.repository.ui.author.RepositoryMembersController in project openolat by klemens.

the class RepositoryEntryRuntimeController method doMembers.

protected Activateable2 doMembers(UserRequest ureq) {
    if (!reSecurity.isEntryAdmin())
        return null;
    WindowControl bwControl = getSubWindowControl("MembersMgmt");
    RepositoryMembersController ctrl = new RepositoryMembersController(ureq, addToHistory(ureq, bwControl), toolbarPanel, re);
    listenTo(ctrl);
    membersEditController = pushController(ureq, translate("details.members"), ctrl);
    currentToolCtr = membersEditController;
    setActiveTool(membersLink);
    return membersEditController;
}
Also used : WindowControl(org.olat.core.gui.control.WindowControl) RepositoryMembersController(org.olat.repository.ui.author.RepositoryMembersController)

Aggregations

WindowControl (org.olat.core.gui.control.WindowControl)2 RepositoryMembersController (org.olat.repository.ui.author.RepositoryMembersController)2