org.eclipse.ecf.presence.collab.ui.url
Class URLShare
java.lang.Object
org.eclipse.ecf.datashare.AbstractShare
org.eclipse.ecf.presence.collab.ui.AbstractCollabShare
org.eclipse.ecf.presence.collab.ui.url.URLShare
public class URLShare
- extends AbstractCollabShare
Send/receive requests to display an URL in the internal web browser.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLShare
public URLShare(IChannelContainerAdapter adapter)
throws ECFException
- Throws:
ECFException
getURLShare
public static URLShare getURLShare(ID containerID)
addURLShare
public static URLShare addURLShare(ID containerID,
IChannelContainerAdapter channelAdapter)
throws ECFException
- Throws:
ECFException
removeURLShare
public static URLShare removeURLShare(ID containerID)
sendURL
public void sendURL(java.lang.String senderuser,
ID toID,
java.lang.String theURL)
showDialogAndSendURL
public void showDialogAndSendURL(java.lang.String senderuser,
ID toID)
handleMessage
protected void handleMessage(ID fromContainerID,
byte[] data)
- Description copied from class:
AbstractShare
- Receive message for this channel. This method will be called asynchronously
by an arbitrary thread when data to the associated channel is received.
- Specified by:
handleMessage
in class AbstractShare
- Parameters:
fromContainerID
- the ID of the sender container. Will not be null
.data
- the data received on the channel. Will not be null
.