/** Removes the room that is currently selected. */ void removeSelectedRoom() { ChatRoomWrapper chatRoomWrapper = chatRoomsTableModel.getValueAt(chatRoomList.getSelectedRow()); ConferenceChatManager conferenceManager = GuiActivator.getUIService().getConferenceChatManager(); conferenceManager.removeChatRoom(chatRoomWrapper); }
/** * Returns the currently selected room. * * @return the currently selected room. */ ChatRoomWrapper getSelectedRoom() { return chatRoomsTableModel.getValueAt(chatRoomList.getSelectedRow()); }