Exemplo n.º 1
0
  /** Removes the room that is currently selected. */
  void removeSelectedRoom() {
    ChatRoomWrapper chatRoomWrapper = chatRoomsTableModel.getValueAt(chatRoomList.getSelectedRow());

    ConferenceChatManager conferenceManager =
        GuiActivator.getUIService().getConferenceChatManager();
    conferenceManager.removeChatRoom(chatRoomWrapper);
  }
Exemplo n.º 2
0
 /**
  * Returns the currently selected room.
  *
  * @return the currently selected room.
  */
 ChatRoomWrapper getSelectedRoom() {
   return chatRoomsTableModel.getValueAt(chatRoomList.getSelectedRow());
 }