Bug 197007

Summary: IChatRoomContainer & getCurrentParticipants()
Product: [RT] ECF Reporter: Chris Aniszczyk <caniszczyk>
Component: ecf.coreAssignee: ecf.core-inbox <ecf.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jacek.pospychala, remy.suen, slewis
Version: unspecifiedKeywords: bugday, contributed, helpwanted
Target Milestone: 1.1.0   
Hardware: PC   
OS: Windows XP   
URL: http://www.eclipse.org/newsportal/article.php?id=787&group=eclipse.technology.ecf#787
Whiteboard:
Bug Depends on:    
Bug Blocks: 197333    
Attachments:
Description Flags
looking for your comments none

Description Chris Aniszczyk CLA 2007-07-18 14:31:01 EDT
Consider adding a way to get participants easily via the chatroom container.
Comment 1 Scott Lewis CLA 2007-07-19 02:00:38 EDT
This is pretty easy to implement, but requires small addition to API (i.e. 

ID [] members IChatRoomContainer.getCurrentMembers()

 ...or whatever we want to call it).  So I'm setting the target milestone to 1.1.0.

Comment 2 Jacek Pospychala CLA 2007-09-01 12:04:59 EDT
Created attachment 77531 [details]
looking for your comments
Comment 3 Scott Lewis CLA 2007-09-02 03:16:29 EDT
Thanks Jacek.  I've applied these patches with some changes:

1) Changed method name to IChatRoomContainer.getChatRoomParticipants rather than IChatRoomContainer.getMembers() for consistency with other names.

2) Changed implementation for XMPP provider.

3) Added test code in org.eclipse.ecf.tests.presence (ChatRoomParticipantTest) 

Checked into HEAD.

Comment 4 Remy Suen CLA 2007-09-02 10:50:14 EDT
I've updated the API to include an '@since 1.1' tag.
Comment 5 Scott Lewis CLA 2008-05-18 19:25:16 EDT
closing