I want to try to implement a drag and drop function.
This function should in the first step work for swtbot treeitems
1. I get the bounds of the items,
2. I generate and fired a MouseMove event to item1
3. I generate and fired a MouseDown Event
4. igenerate and fired a MouseMoveEvent to item2
5 I generte and fired a MouseUp Events
Currently i don't know a better approach to to drag and drop, but for some of my tests I need this function.
Is there a chance to do that.
Can anybody tell me a better approach for implement drag and drop function?
Can I get an example how I can generate an swtbot Mouse Event?
On 14/09/09 8:33 PM, Daniel Weber wrote:
> Hi again,
>> I want to try to implement a drag and drop function.
> I just uploaded my Drag and Drop related changes to
> Did you have any success in building your own swtbot binaries? If so,
> you can build from these sources and check if this implementation works
> for you.
> A patch has been attached to the Bug Report:
> I only tested dnd from text to text and tree to tree, but it's a start.
> All kinds of feedback are welcome :-)