Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » drag & drop of url link
drag & drop of url link [message #648184] Tue, 11 January 2011 16:48 Go to next message
Eclipse UserFriend
Originally posted by: jdevgl.gmail.com

Hi =)

I would like to know if it is possible to drag'n'drop an url link (from
a web browser) into an swt tree and how can one do that?

Thank you :)
Re: drag & drop of url link [message #648308 is a reply to message #648184] Wed, 12 January 2011 11:02 Go to previous message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
Hi,

Here is an example Snippet --> Snippet284.java
This drags the URL between labels. You can modify the snippet to use a Browser as the DragSource instead of Label and use Tree as the DropTarget.
Also see the Drag and Drop example which does drag and drop between different controls --> DNDExample.java

HTH,
Lakshmi


Lakshmi P Shanmugam
Previous Topic:Problems with scroll synchronization of 2 trees
Next Topic:How to Crop/Trim Image/ImageData
Goto Forum:
  


Current Time: Wed Apr 24 15:56:13 GMT 2024

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

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

Back to the top