Skip to main content



      Home
Home » Eclipse Projects » SWTBot » drag and drop from FigureCanvas(Is there a way to drag and drop elements from FigureCanvas)
drag and drop from FigureCanvas [message #1717339] Fri, 11 December 2015 16:42 Go to next message
Eclipse UserFriend
Is there a way to drag and drop a Figure Canvas elements from a view to another Figure Canvas element? If yes could you please share a sample code snippet.

Thanks in advance

Regards,
Shabari
Re: drag and drop from FigureCanvas [message #1721837 is a reply to message #1717339] Sun, 31 January 2016 16:50 Go to previous message
Eclipse UserFriend
On 12/11/2015 10:42 PM, Shabari shetty wrote:
> Is there a way to drag and drop a Figure Canvas elements from a view to
> another Figure Canvas element? If yes could you please share a sample
> code snippet.

Unfortunately, the recent-ish addition of DND support in SWTBot API
didn't cover the GEF use cases. See
https://wiki.eclipse.org/SWTBot/GSOC_dragndrop#DragSource_and_DropTarget_object
It might be something possible and not too difficult. You should
consider contributing this:
https://wiki.eclipse.org/SWTBot/Contributing#Submit_a_contribution

--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic:Testing a dialog with Browse button > DirectoryDialog
Next Topic:[Problem]No context available outside of the request service lifecycle
Goto Forum:
  


Current Time: Fri May 23 05:48:40 EDT 2025

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

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

Back to the top