Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:42 Go to next message
Shabari shetty is currently offline Shabari shettyFriend
Messages: 8
Registered: December 2012
Junior Member
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 21:50 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

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: Thu Apr 25 06:37:35 GMT 2024

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

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

Back to the top