Skip to main content



      Home
Home » Archived » Eclipse Communications Framework (ECF) » datashare for rt collab over xmpp
datashare for rt collab over xmpp [message #618533] Thu, 03 May 2007 14:44
Eclipse UserFriend
Hi Folks,

I wanted to relay something 'new and cool' quickly.

In response to bug/enhancement request
https://bugs.eclipse.org/bugs/show_bug.cgi?id=183029

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
code respectively.

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.

Scott
Previous Topic:ECF dev build 5.1.07
Next Topic:ECF dev build 5.4.07
Goto Forum:
  


Current Time: Sun May 18 15:08:40 EDT 2025

Powered by FUDForum. Page generated in 0.02680 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top