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:

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: 277
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: Thu Mar 04 16:33:49 GMT 2021

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

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

Back to the top