|datashare for rt collab over xmpp [message #618533]
||Thu, 03 May 2007 18:44
| Scott Lewis
Registered: July 2009
I wanted to relay something 'new and cool' quickly.
In response to bug/enhancement request
I created a new plugin that uses datashare API to dynamically share URLs
to people in one's roster. (i.e. Send URL... as context menu item along
with "Send IM", Send File, etc).
This plugin is extremely simple (3 classes without Activator), and also
adds UI to the MultiRosterView using the Eclipse 3.3 menuContribution
for adding actions to dynamically created menus. Here's the project:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/plu gins/org.eclipse.ecf.presence.collab.ui/?root=Technology_Pro ject
The core code for sending and receiving URLs is the URLShare class
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/plu gins/org.eclipse.ecf.presence.collab.ui/src/org/eclipse/ecf/ presence/collab/ui/URLShare.java?root=Technology_Project& ;view=log
See the 'sendURL' and 'handleMessage' methods for the send and receive
The basic form of this is quite generalizable to other sharing
situations...e.g. sharing Mylar task contexts, sharing workbench
artifacts, exchanging state changes for shared editors, etc. Note also
that this same code will work on all providers that support
datashare..i.e. xmpp, ECF generic, skype (soon), others.
I'm going to use this, I think, to create a simple tutorial for datashare.
Powered by FUDForum
. Page generated in 0.01539 seconds