Пример #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());
 }