Drag&Drop SWTBotTreeItem to SWTBotGefEditor [message #808261] |
Mon, 27 February 2012 10:39  |
Eclipse User |
|
|
|
Hello,
I could not find examples that can help me to test a functionality Drag&Drop a SWTBotTreeItem to SWTBotGefEditor.
Can you please help me to define SWTBotGefEditor as a drop target?
I did find example of Table as Drop target, but not SWTBotGefEditor.
My Drag&Drop functionality, selects a SWTBotTreeItem, darg it to a SWTBotGefEditor, the drop adds an image into my SWTBotGefEditor.
Thank you.
|
|
|
Re: Drag&Drop SWTBotTreeItem to SWTBotGefEditor [message #821317 is a reply to message #808261] |
Thu, 15 March 2012 03:35  |
Eclipse User |
|
|
|
Execuse me i can not follow you clearly.
I use the follow code to test "function Drag&Drop":
SWTBotGefEditor editor = gefBot.gefEditor(editorName);
editor.activateTool(functionName);
editor.drag(20, 20, 20, 20);// drop the function
hope this can help you.
|
|
|
Powered by
FUDForum. Page generated in 0.03972 seconds