Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Working with FigureCanvas
Working with FigureCanvas [message #1786721] Wed, 09 May 2018 16:13 Go to next message
Eclipse UserFriend
I have view with a FigureCanvas. Can I use SWTBot to find a figure and then click inside that figure? The eclipse spy view stops at the FigureCanvas.
Re: Working with FigureCanvas [message #1786723 is a reply to message #1786721] Wed, 09 May 2018 16:27 Go to previous message
Eclipse UserFriend
Hi Lutz,

I have never used it, but it seems to be part of the org.eclipse.swtbot.eclipse.gef feature.

I think you would have to get a new SWTGefBot(), and from there get the SWTBotGefViewer from it's title, and the viewer has a protected method getCanvas() that returns a SWTBotGefFigureCanvas?

You might want to look at org.eclipse.gef.examples.logic.test plug-in for some hints on how to use that.

Patrick
Previous Topic:SWTBot Command line Framework installation
Next Topic:How to get progress bar shell in swtbot?
Goto Forum:
  


Current Time: Sat May 17 22:01:22 EDT 2025

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

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

Back to the top