Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Possible to drag a Link from a Browser into SWT App?
Possible to drag a Link from a Browser into SWT App? [message #449455] Mon, 24 January 2005 19:38 Go to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Hi,

I wonder if its possible to drag a Link out of Firefox and drop it into
an SWT application (and access the HREF of the URL as String).
Unfortunately the URLTransfer class in SWT is not public and the
HTMLTransfer class is giving far more information in event.data, than
just the Link that was dragged.

Any examples?

Thanks,
Ben
Re: Possible to drag a Link from a Browser into SWT App? [message #449476 is a reply to message #449455] Tue, 25 January 2005 12:40 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
URLTransfer not currently supported. Does FireFox also provide the URL in a
TextTransfer?

"Benjamin Pasero" <bpasero@rssowl.org> wrote in message
news:ct3isa$vuh$1@www.eclipse.org...
> Hi,
>
> I wonder if its possible to drag a Link out of Firefox and drop it into an
> SWT application (and access the HREF of the URL as String). Unfortunately
> the URLTransfer class in SWT is not public and the HTMLTransfer class is
> giving far more information in event.data, than just the Link that was
> dragged.
>
> Any examples?
>
> Thanks,
> Ben
Re: Possible to drag a Link from a Browser into SWT App? [message #449522 is a reply to message #449476] Tue, 25 January 2005 17:24 Go to previous messageGo to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Veronika Irvine wrote:

>URLTransfer not currently supported. Does FireFox also provide the URL in a
>TextTransfer?
>
>
Ah ok TextTransfer is better than HTMLTransfer for Firefox. I am getting
URL and
Name of the link inside event.data.

Interesting that Internet Explorer is neither allowing TextTransfer nor
HTMLTransfer
when dragging Links. Any way to get it work with both browsers?

Ben

>"Benjamin Pasero" <bpasero@rssowl.org> wrote in message
>news:ct3isa$vuh$1@www.eclipse.org...
>
>
>>Hi,
>>
>>I wonder if its possible to drag a Link out of Firefox and drop it into an
>>SWT application (and access the HREF of the URL as String). Unfortunately
>>the URLTransfer class in SWT is not public and the HTMLTransfer class is
>>giving far more information in event.data, than just the Link that was
>>dragged.
>>
>>Any examples?
>>
>>Thanks,
>>Ben
>>
>>
>
>
>
>
Re: Possible to drag a Link from a Browser into SWT App? [message #449542 is a reply to message #449522] Wed, 26 January 2005 09:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ssc.acentic.net

Short question, did you run the firefox in the eclipse (on win32 possible
?) or did you drag the link from the firefox ?
Re: Possible to drag a Link from a Browser into SWT App? [message #449545 is a reply to message #449542] Wed, 26 January 2005 09:38 Go to previous message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Sebastian Scholz wrote:

>Short question, did you run the firefox in the eclipse (on win32 possible
>?) or did you drag the link from the firefox ?
>
>
No, running Firefox inside the Browser widget is unfortunately not
possible (yet).
Firefox was running outside Eclipse and I dragged the link from there into a
SWT application (which worked, using HTMLTransfer or TextTransfer).

Ben
Previous Topic:SashForm DRAG_MINIMUM not visible
Next Topic:Attaching SWT/JFace sources to a project while debugging
Goto Forum:
  


Current Time: Thu Nov 14 08:44:19 GMT 2019

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

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

Back to the top