Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Find controls when GMF context menu is displayed
Find controls when GMF context menu is displayed [message #981219] Mon, 12 November 2012 03:48 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 555
Registered: November 2009
Senior Member
Hi all,

I try to select an entry from the context menu that gmf displays after creating a connection between two model elements. However I do not get matched any widget as long as I have the context menu displayed.

index.php/fa/12305/0/



For testing I have the follwing statement running without any problem (3 items are matched) as long as the context menu does not show up.

List<Tree> items = bot.getFinder().findControls(WidgetMatcherFactory.widgetOfType(Tree.class));



Now whenever context menu shows up this statement does not match any single widget. I tried this with TabbedPropertiesList, MenuEntry etc. I always have the same result.

Any idea?

Ralph
  • Attachment: menu.png
    (Size: 7.39KB, Downloaded 204 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Eclipse Juno Reporting
Next Topic:Accessing the menu of a palette tool that creates more than one figure
Goto Forum:
  


Current Time: Sat May 25 21:25:43 EDT 2013

Powered by FUDForum. Page generated in 0.01717 seconds