Package org.eclipse.swtbot.swt.finder.waits

Examples of org.eclipse.swtbot.swt.finder.waits.WaitForMenu


   * @param matcher the matcher used to find the menu.
   * @param index the index of the menu, in case there are multiple menus with the same text.
   * @return a menu item that matches the specified text.
   */
  public SWTBotMenu menu(SWTBotShell shell, Matcher<? extends Widget> matcher, int index) {
    WaitForMenu waitForMenu = waitForMenu(shell, matcher);
    waitUntilWidgetAppears(waitForMenu);
    return new SWTBotMenu(waitForMenu.get(index), matcher);
  }
View Full Code Here


   * @param matcher the matcher used to find the menu.
   * @param index the index of the menu, in case there are multiple menus with the same text.
   * @return a menu item that matches the specified text.
   */
  public SWTBotMenu menu(SWTBotShell shell, Matcher<? extends Widget> matcher, int index) {
    WaitForMenu waitForMenu = waitForMenu(shell, matcher);
    waitUntilWidgetAppears(waitForMenu);
    return new SWTBotMenu(waitForMenu.get(index), matcher);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swtbot.swt.finder.waits.WaitForMenu

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.