Search in sources :

Example 6 with FloatingResizableDialogController

use of org.olat.core.gui.control.floatingresizabledialog.FloatingResizableDialogController in project openolat by klemens.

the class InstantMessagingMainController method doOpenRoster.

private void doOpenRoster(UserRequest ureq) {
    removeAsListenerAndDispose(rosterCtr);
    removeAsListenerAndDispose(rosterPanelCtr);
    rosterCtr = new IMBuddyListController(ureq, getWindowControl());
    listenTo(rosterCtr);
    rosterPanelCtr = new FloatingResizableDialogController(ureq, getWindowControl(), rosterCtr.getInitialComponent(), translate("im.buddies"), 300, 500, onlineOfflineCount.getOffsetX() - 80, onlineOfflineCount.getOffsetY() + 25, null, null, true, true, true, "im_roster");
    listenTo(rosterPanelCtr);
    rosterPanel.setContent(rosterPanelCtr.getInitialComponent());
    onlineOfflineCount.setDirty(false);
}
Also used : FloatingResizableDialogController(org.olat.core.gui.control.floatingresizabledialog.FloatingResizableDialogController)

Aggregations

FloatingResizableDialogController (org.olat.core.gui.control.floatingresizabledialog.FloatingResizableDialogController)6 UserSearchController (org.olat.admin.user.UserSearchController)2