|Scroll in an editor [message #550834]
||Wed, 04 August 2010 09:24
|| Mickael Istria
Registered: July 2009
Location: Grenoble, France
I have found some issues with scrolling when playing with a GEF test.
All SWTBotGefEditor methods taking as input an EditPart are actually shortcuts that use locations. These methods use the location of the GraphicalEditPart *in the canvas*, whereas the events they generate expect absolute location on *the editor*. That cause troubles when the editor is Scrollable, and that the scrollbar is not on the top: it makes the location of the editpart different from the location of the click it will generate.
Is there a method in SWTBot to scroll in an Editor?
Mickael Istria -- BonitaSoft S.A.
Powered by FUDForum
. Page generated in 0.02837 seconds