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:

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 ShanmugamFriend
Messages: 275
Registered: July 2009
Location: India
Senior Member

Here is an example Snippet -->
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 -->


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

Current Time: Mon Oct 05 13:02:27 GMT 2015

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

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