Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Example for Drag and Drop
Example for Drag and Drop [message #1037020] Tue, 09 April 2013 04:57 Go to next message
Reema Agrawal is currently offline Reema AgrawalFriend
Messages: 3
Registered: April 2013
Junior Member
Hi,
I have applied the patch for Drag and Drop feature. But, still am not able to use the feature in my code.
Can you please give me some example for using Drag and Drop feature for dropping a tree item to another tree or an editor.
Re: Example for Drag and Drop [message #1038668 is a reply to message #1037020] Thu, 11 April 2013 06:37 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi,

Unfortunately, the Drag'n'drop support is not available in SWTBot.
You can follow this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=285271

Any contribution is welcome. I also think of making this a Google Summer
of Code proposal.

On 04/09/2013 03:06 PM, Reema Agrawal wrote:
> Hi, I have applied the patch for Drag and Drop feature. But, still am
> not able to use the feature in my code. Can you please give me some
> example for using Drag and Drop feature for dropping a tree item to
> another tree or an editor.

--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Example for Drag and Drop [message #1039342 is a reply to message #1038668] Fri, 12 April 2013 03:47 Go to previous messageGo to next message
Reema Agrawal is currently offline Reema AgrawalFriend
Messages: 3
Registered: April 2013
Junior Member
The bug says that there is a patch for drag n drop.. Is that patch useful, if yes do we have some examples how we can use that??
Re: Example for Drag and Drop [message #1043304 is a reply to message #1039342] Wed, 17 April 2013 14:30 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 04/12/2013 05:47 AM, Reema Agrawal wrote:
> The bug says that there is a patch for drag n drop.. Is that patch
> useful, if yes do we have some examples how we can use that??

Mariot did contribute a DNDUtils methods which is helpful to do some
drag'n'drop, but this is not ready to get into SWTBot code.
There is no example, but This DNDUtil class is explicit so you could try
it easily.
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic:SWTBOT - WINDOWS - Jenkins - Eclipse losing focus
Next Topic:SWTBot headless testing
Goto Forum:
  


Current Time: Thu Apr 25 07:30:47 GMT 2024

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

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

Back to the top