Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » drag and drop effects
drag and drop effects [message #741689] Wed, 19 October 2011 16:04 Go to next message
Eclipse UserFriend
I've been looking at the TableDragSourceEffect...and TableDropTargetEffect, and I would like to change/customize the visuals associated with Table widget drag and drop (e.g. so that selection, insertion highlighting appears slightly differently during drag and drop). Are there examples (in Eclipse or elsewhere) of extending (or replacing) the Table drag and drop effects? Is there any further documentation available on doing this?

Thanksinadvance,

Scott
Re: drag and drop effects [message #743375 is a reply to message #741689] Fri, 21 October 2011 08:02 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You can customize the image shown while the dragging from a Table, see the javadoc of TableDragSourceEffect. You can also provide your own drag under effect for a Table, see javadoc of TableDropTargetEffect.
I didn't find any article or example of this, but here is an article on Drag and Drop in SWT --> http://www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.html
Re: drag and drop effects [message #743525 is a reply to message #743375] Fri, 21 October 2011 10:56 Go to previous message
Eclipse UserFriend
Thanks Lakshmi. If you come across any further examples/source, please let all know here.
Previous Topic:Refresh problems with switchable graphics
Next Topic:Compatibility problem with Myspace and SWT Browser
Goto Forum:
  


Current Time: Fri Jul 25 05:59:03 EDT 2025

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

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

Back to the top