Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drag and Drop...on tree
Drag and Drop...on tree [message #465877] Wed, 21 December 2005 11:27 Go to next message
Eclipse UserFriend
Originally posted by: maxime.cailloux.cea.fr

Hi,

I am implementing a drag and drop from a first tree to a second tree.
But I want to copy source item on specific items of the target tree. So, I
want to see a cursor Copy when it's a good target item and a cursor None
when it's a forbidden target.
How do you implement that?

Thanks in advance for your help,

Max
Re: Drag and Drop...on tree [message #465880 is a reply to message #465877] Wed, 21 December 2005 15:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: maxime.cailloux.cea.fr

I forgot:the target items are differentiated thanks different datas types
got with event.item.getData()
Re: Drag and Drop...on tree [message #465881 is a reply to message #465880] Wed, 21 December 2005 15:04 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet185.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup


"M. Cailloux" <maxime.cailloux@cea.fr> wrote in message
news:f028e49e026fe902bd79bca3d09e7d2c$1@www.eclipse.org...
>I forgot:the target items are differentiated thanks different datas types
>got with event.item.getData()
>
Previous Topic:64-bit version of SWT for Windows
Next Topic:Problem to give back focus to the main shell
Goto Forum:
  


Current Time: Sun Jun 16 17:09:41 GMT 2019

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

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

Back to the top