Examples of WaitForShell


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

  /**
   * @return a wrapper around a {@link Shell} with the specified index.
   * @param text the text on the shell.
   */
  public List<Shell> shells(String text) {
    WaitForShell waitForShell = waitForShell(withText(text));
    waitUntilWidgetAppears(waitForShell);
    List<Shell> allShells = waitForShell.getAllMatches();
    return allShells;
  }
View Full Code Here

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

   * @return a List of {@link Shell} which matched.
   * @param text the text on the shell.
   * @param parent the parent under which a shell will be found.
   */
  public List<Shell> shells(String text, Shell parent) {
    WaitForShell waitForShell = waitForShell(withText(text), parent);
    waitUntilWidgetAppears(waitForShell);
    List<Shell> allShells = waitForShell.getAllMatches();
    return allShells;
  }
View Full Code Here

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

   * @param index the index of the shell, in case there are multiple shells with the same text.
   * @return a wrapper around a @{link Shell} with the specified value for its id.
   * @since 2.0
   */
  public SWTBotShell shellWithId(String value, int index) {
    WaitForShell waitForShell = waitForShell(withId(value));
    waitUntilWidgetAppears(waitForShell);
    return new SWTBotShell(waitForShell.get(index));
  }
View Full Code Here

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

   * @param value the value of the id
   * @param index the index of the shell, in case there are multiple shells with the same text.
   * @return a wrapper around a @{link Shell} with the specified key/value pair for its id.
   */
  public SWTBotShell shellWithId(String key, String value, int index) {
    WaitForShell waitForShell = waitForShell(withId(key, value));
    waitUntilWidgetAppears(waitForShell);
    return new SWTBotShell(waitForShell.get(index));
  }
View Full Code Here

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

  /**
   * @return a wrapper around a {@link Shell} with the specified index.
   * @param text the text on the shell.
   */
  public List<Shell> shells(String text) {
    WaitForShell waitForShell = waitForShell(withText(text));
    waitUntilWidgetAppears(waitForShell);
    ArrayList<Shell> allShells = waitForShell.getAllShells();
    return allShells;
  }
View Full Code Here

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

   * @return a List of {@link Shell} which matched.
   * @param text the text on the shell.
   * @param parent the parent under which a shell will be found.
   */
  public List<Shell> shells(String text, Shell parent) {
    WaitForShell waitForShell = waitForShell(withText(text), parent);
    waitUntilWidgetAppears(waitForShell);
    ArrayList<Shell> allShells = waitForShell.getAllShells();
    return allShells;
  }
View Full Code Here

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

   * @param index the index of the shell, in case there are multiple shells with the same text.
   * @return a wrapper around a @{link Shell} with the specified value for its id.
   * @since 2.0
   */
  public SWTBotShell shellWithId(String value, int index) {
    WaitForShell waitForShell = waitForShell(withId(value));
    waitUntilWidgetAppears(waitForShell);
    return new SWTBotShell(waitForShell.get(index));
  }
View Full Code Here

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

   * @param value the value of the id
   * @param index the index of the shell, in case there are multiple shells with the same text.
   * @return a wrapper around a @{link Shell} with the specified key/value pair for its id.
   */
  public SWTBotShell shellWithId(String key, String value, int index) {
    WaitForShell waitForShell = waitForShell(withId(key, value));
    waitUntilWidgetAppears(waitForShell);
    return new SWTBotShell(waitForShell.get(index));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.