drag&drop, palette, graphic component [message #1522864] |
Mon, 22 December 2014 15:39 |
Benno Heilmann Messages: 13 Registered: November 2014 |
Junior Member |
|
|
Hi,
I have a Problem dragging&dropping an item from a palette into a graphic component.
The following image displays the situation. On the right side the item of the palette marked in yellow and on the left the graphic component with already one functionblock (FB) colored in teal.
I want Jubula to drag the RMT_DEVICE in yellow and drop it to the graphic component.
Note the only way to accomplish this (when doing it manually) is to move the mouse over the palette item RMT_DEVICE, then click and hold left mouse button move the mouse over some empty space in the graphic component and release the mouse button. (For example a double click on RMT_DEVICE will not create a FB in the graphic component). So, it is an honest drag and drop operation with the palette item as the source and the graphic component as the target.
I tried ...rcp->Actions->Drag&Drop->Figure Canvas->...dragAndDrop_byTextpath but it failed
In a link for a ticket I found this message:
the link:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=374857
So, the message says drag needs drop as follower. Also, it recommends to try replacing the drag and drop operations with clicks.
I did two experiments that follow this idea.
The first one uses solely clicks. So, Jubula clicks the RMT_DEVICE and then clicks the graphic component. It did not work out (neither of the clicks were successful).
After that I used ...rcp->Actions->Select->Figure Canvas->...selectTool_byTextpath... and ...rcp->Actions->... dropOnfigure_byTextpath Operation. Unfortunately it did not work, though selectTool_byTextpath was.
What I wanted to add is I always took great care of the AUT being active and thanks to your help my inspector is also working now providing me accurate textpaths.
I attached the logs of the .jubula directory. If they have become to complicated I am willing to repeat my tests and reupload them in order the important information out of the logs will be easier to track.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24376 seconds