notify(SWT.FocusOut);
log.debug(MessageFormat.format("Clicked on {0}", this)); //$NON-NLS-1$
List<MenuItem> findMenus = menuFinder.findMenus(new SWTBot().activeShell().widget, matcher, true);
return toSWTBotMenuItems(matcher, findMenus);
} finally {
menuFinder.unregister();
}
}
/**
* Click on the tool item.