*/
public SWTBotMenu menu(final String menuName) throws WidgetNotFoundException {
MenuItem menuItem = (MenuItem) syncExec(new WidgetResult() {
public Widget run() {
Menu bar = ((MenuItem) widget).getMenu();
List findMenus = new MenuFinder().findMenus(bar, WidgetMatcherFactory.menuMatcher(menuName), true);
if (!findMenus.isEmpty())
return (MenuItem) findMenus.get(0);
return null;
}
});