use of org.eclipse.ecf.presence.chatroom.IChatRoomContainer in project ecf by eclipse.
the class IRCChannelHyperlink method open.
public void open() {
IChatRoomContainer container = view.getRootChatRoomContainer();
final IChatRoomManager manager = (IChatRoomManager) container.getAdapter(IChatRoomManager.class);
view.joinRoom(manager.getChatRoomInfo(channel), "");
}
use of org.eclipse.ecf.presence.chatroom.IChatRoomContainer in project ecf by eclipse.
the class XMPPChatRoomManager method disposeChatRooms.
protected void disposeChatRooms() {
List toNotify = null;
synchronized (chatrooms) {
toNotify = new ArrayList(chatrooms);
chatrooms.clear();
}
for (final Iterator i = toNotify.iterator(); i.hasNext(); ) {
final IChatRoomContainer cc = (IChatRoomContainer) i.next();
cc.dispose();
}
}
Aggregations