Good Morning all (or afternoon or evening respectively),
I am trying to build a SWTBot test that drags a node from a Tree Viewer into a diagram editor (using Graphiti, don't think that matters). The node to be dragged is in it's own view, not in the toolbar, so the standard way of doing it won't work:
SWTBotGefEditor editor = gefBot.gefEditor(editorName);
editor.activateTool(functionName);
editor.drag(20, 20, 20, 20);
I also saw that TreeItem has a dragAndDrop function, but unless I'm wrong (totally possible), I think that only works when dragging to another tree.
Is there a way to drag directly from a tree to a diagram editor?