commit | 127fc7e80f7fd0db9a2a740c1663c60fdc6b476f | [log] [tgz] |
---|---|---|
author | Patrick Tasse <patrick.tasse@gmail.com> | Mon Jun 15 18:49:22 2015 -0400 |
committer | Patrick Tasse <patrick.tasse@gmail.com> | Tue Jun 16 12:32:57 2015 -0400 |
tree | ae488961b080ec99dcfc497b7a96fb26d045fbcc | |
parent | 1a8a2c77f26fe626758029568db0d1fef904561f [diff] |
Bug 458975: Fix ContextMenuFinder returns disposed menu items The method findMenus() should not iterate through the shells of the display when trying to find menu items. Doing so may dispose the previous menu and its items at each iteration if the context menu is a dynamic menu (e.g. MenuManager.setRemoveAllWhenShown(true)). In the scope of a ContextMenuFinder there is only one menu associated with the control, it should be queried directly. Change-Id: Icfc5e05bf083626304e5a77054535352788b7f4b Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
SWTBot is a Java API that interacts with SWT by using high-level operations. It is generally use to write UI tests efficiently since the grain of the API is the same grain as UI operation. It makes easier to transform a user scenario to an automated tests.
http://wiki.eclipse.org/SWTBot
GitHub tracker and pull requests are currently not supported by the contribution process.
Please read http://wiki.eclipse.org/SWTBot/Contributing to know how to interact well with the community. For further questions about contributing to SWTBot, please send a mail to swtbot-dev@eclipse.org .