Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to click on popupbar tool of GMF editpart
How to click on popupbar tool of GMF editpart [message #965543] Wed, 31 October 2012 10:13 Go to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hello,

I want to click on one of the buttons that popup when hovering an editpart of a GMF editor. How can I make SWTBot hover with the mouse over an editor to get the popup bar showing up?

Thanks,

Ralph
Re: How to click on popupbar tool of GMF editpart [message #974766 is a reply to message #965543] Wed, 07 November 2012 09:59 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

for everyone who is interested I found a solution. It is not clicking on the button via UI but. The solution asks the PopupBarEditPolicy for all buttons and then executes the one with the defined tool tip. Method executPopUpBarToolWithTooltip from http://code.google.com/a/eclipselabs.org/p/melanie/source/browse/de.uni_mannheim.informatik.swt.mlm.tests.core.ui/src/de/uni_mannheim/informatik/swt/mlm/tests/core/ui/GMFTestUtil.java does the trick.

Ralph
Previous Topic:The RCP application becomes slow and not responding
Next Topic:controlling the lifecyle of the application test run
Goto Forum:
  


Current Time: Thu Mar 28 15:35:46 GMT 2024

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

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

Back to the top