Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 77531 Details for
Bug 197007
IChatRoomContainer & getCurrentParticipants()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
looking for your comments
patch.txt (text/plain), 4.09 KB, created by
Jacek Pospychala
on 2007-09-01 12:04:59 EDT
(
hide
)
Description:
looking for your comments
Filename:
MIME Type:
Creator:
Jacek Pospychala
Created:
2007-09-01 12:04:59 EDT
Size:
4.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ecf.provider >Index: src/org/eclipse/ecf/provider/generic/SOContainer.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/plugins/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SOContainer.java,v >retrieving revision 1.93 >diff -u -r1.93 SOContainer.java >--- src/org/eclipse/ecf/provider/generic/SOContainer.java 5 Aug 2007 21:18:03 -0000 1.93 >+++ src/org/eclipse/ecf/provider/generic/SOContainer.java 1 Sep 2007 16:02:38 -0000 >@@ -587,6 +587,10 @@ > } > } > >+ protected ID[] getMemberIDs() { >+ return groupManager.getMemberIDs(); >+ } >+ > protected ID[] getOtherMemberIDs() { > return groupManager.getOtherMemberIDs(); > } >#P org.eclipse.ecf.presence >Index: src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/plugins/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java,v >retrieving revision 1.8 >diff -u -r1.8 IChatRoomContainer.java >--- src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java 26 May 2007 23:26:32 -0000 1.8 >+++ src/org/eclipse/ecf/presence/chatroom/IChatRoomContainer.java 1 Sep 2007 16:02:40 -0000 >@@ -11,6 +11,7 @@ > package org.eclipse.ecf.presence.chatroom; > > import org.eclipse.ecf.core.IContainer; >+import org.eclipse.ecf.core.identity.ID; > import org.eclipse.ecf.presence.IIMMessageListener; > import org.eclipse.ecf.presence.im.IChatMessageSender; > >@@ -90,4 +91,10 @@ > */ > public void removeChatRoomAdminListener(IChatRoomAdminListener adminListener); > >+ /** >+ * Returns a list of chatroom participants. >+ * >+ * @return list of chatroom participants. >+ */ >+ public ID[] getCurrentMembers(); > } >#P org.eclipse.ecf.provider.xmpp >Index: src/org/eclipse/ecf/internal/provider/xmpp/XMPPChatRoomContainer.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/plugins/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/XMPPChatRoomContainer.java,v >retrieving revision 1.14 >diff -u -r1.14 XMPPChatRoomContainer.java >--- src/org/eclipse/ecf/internal/provider/xmpp/XMPPChatRoomContainer.java 23 Jul 2007 00:32:48 -0000 1.14 >+++ src/org/eclipse/ecf/internal/provider/xmpp/XMPPChatRoomContainer.java 1 Sep 2007 16:02:43 -0000 >@@ -542,4 +542,8 @@ > > } > >+ public ID[] getCurrentMembers() { >+ return getMemberIDs(); >+ } >+ > } >\ No newline at end of file >#P org.eclipse.ecf.provider.irc >Index: src/org/eclipse/ecf/internal/provider/irc/container/IRCRootContainer.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/plugins/org.eclipse.ecf.provider.irc/src/org/eclipse/ecf/internal/provider/irc/container/IRCRootContainer.java,v >retrieving revision 1.20 >diff -u -r1.20 IRCRootContainer.java >--- src/org/eclipse/ecf/internal/provider/irc/container/IRCRootContainer.java 18 Aug 2007 01:26:48 -0000 1.20 >+++ src/org/eclipse/ecf/internal/provider/irc/container/IRCRootContainer.java 1 Sep 2007 16:02:49 -0000 >@@ -1036,4 +1036,9 @@ > return this; > } > >+ public ID[] getCurrentMembers() { >+ // root channel has no participants >+ return new ID[0]; >+ } >+ > } >Index: src/org/eclipse/ecf/internal/provider/irc/container/IRCChannelContainer.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/plugins/org.eclipse.ecf.provider.irc/src/org/eclipse/ecf/internal/provider/irc/container/IRCChannelContainer.java,v >retrieving revision 1.11 >diff -u -r1.11 IRCChannelContainer.java >--- src/org/eclipse/ecf/internal/provider/irc/container/IRCChannelContainer.java 5 Aug 2007 18:58:44 -0000 1.11 >+++ src/org/eclipse/ecf/internal/provider/irc/container/IRCChannelContainer.java 1 Sep 2007 16:02:44 -0000 >@@ -341,4 +341,8 @@ > return this; > } > >+ public ID[] getCurrentMembers() { >+ return (ID[]) channelParticipants.toArray(new ID[channelParticipants.size()]); >+ } >+ > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197007
: 77531