Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Scroll in an editor
Scroll in an editor [message #550834] Wed, 04 August 2010 13:24
Mickael Istria, away until January 8th is currently offline Mickael Istria, away until January 8thFriend
Messages: 828
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi guys,

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.
Previous Topic:SWTBot tests under buckminster
Next Topic:bot.waitUntil does not work as expected when running swtbot through ant
Goto Forum:

Current Time: Thu May 24 06:32:35 GMT 2018

Powered by FUDForum. Page generated in 0.01439 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top