| drag & drop of url link [message #648184] |
Tue, 11 January 2011 11:48  |
|
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 06:02  |
 |
Lakshmi Shanmugam Messages: 271 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
|
|
|
Powered by
FUDForum. Page generated in 0.01893 seconds