Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Tasse2015-06-23 19:27:51 +0000
committerPatrick Tasse2015-08-24 15:06:44 +0000
commitfd3b8d0519df763acfe7d42f5b68f8dbfe9dd1a9 (patch)
tree0c604f344926e3d5368723d232840e6c32f2868d
parent3dc974833345cd62c7c6a12da2a06ac7804a3b6c (diff)
downloadorg.eclipse.swtbot-fd3b8d051.tar.gz
org.eclipse.swtbot-fd3b8d051.tar.xz
org.eclipse.swtbot-fd3b8d051.zip
Bug 261360: Support contextMenu() in SWTBotMenu
Change-Id: Iac1ba4f50eb3ecc238c46f0689ad468f0d6263ef Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
-rw-r--r--org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotMenu.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotMenu.java b/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotMenu.java
index 006815d3..533dd471 100644
--- a/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotMenu.java
+++ b/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotMenu.java
@@ -68,6 +68,11 @@ public class SWTBotMenu extends AbstractSWTBot<MenuItem> {
return this;
}
+ @Override
+ public SWTBotMenu contextMenu(String text) throws WidgetNotFoundException {
+ return menu(text);
+ }
+
/**
* Toggle the selection of the check menu item.
*/

Back to the top