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);
}
Aggregations