Yesterday, I wrote about the ability to drop URLs onto an SWT component. I’ll pause for a couple of minutes while you go back and review it…
I found an entry in Bugzilla (bug #100095) that’s asking for the URLTransfer class to be made public. It seems that the functionality is under development. In the meantime, using the TextTransfer may be a good enough workaround depending on what you need to do (as long as you don’t require the ability to drag links off an Internet Explorer page). You’ll have t use some smarts to determine if it’s just a bunch of text being dropped, or if it’s a URL.
There are a bunch of other Transfer types that let you capture such things as dropped HTML and RTF text.