예제 #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);
  }
예제 #2
0
 /**
  * Returns the currently selected room.
  *
  * @return the currently selected room.
  */
 ChatRoomWrapper getSelectedRoom() {
   return chatRoomsTableModel.getValueAt(chatRoomList.getSelectedRow());
 }