Examples of SWTBotList


Examples of net.sf.swtbot.widgets.SWTBotList

   * @param label the label of the list.
   * @return a wrapper around a List with the specified label.
   * @throws WidgetNotFoundException if the widget is not found.
   */
  public SWTBotList listWithLabel(String label) throws WidgetNotFoundException {
    return new SWTBotList(finder, label);
  }
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotList

   */
  public SWTBotList list(int index) throws WidgetNotFoundException {
    List findControls = finder.findControls(new ClassMatcher(org.eclipse.swt.widgets.List.class));
    if (findControls.isEmpty())
      throw new WidgetNotFoundException("Could not find any table");
    return new SWTBotList((org.eclipse.swt.widgets.List) findControls.get(index));
  }
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotList

   * @param label the label of the list.
   * @return a wrapper around a List with the specified label.
   * @throws WidgetNotFoundException if the widget is not found.
   */
  public SWTBotList listWithLabel(String label) throws WidgetNotFoundException {
    return new SWTBotList(finder, label);
  }
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotList

   */
  public SWTBotList list(int index) throws WidgetNotFoundException {
    List findControls = finder.findControls(new ClassMatcher(org.eclipse.swt.widgets.List.class));
    if (findControls.isEmpty())
      throw new WidgetNotFoundException("Could not find any table");
    return new SWTBotList((org.eclipse.swt.widgets.List) findControls.get(index));
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotList

   * @return a {@link SWTBotList} with the specified <code>label</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotList listWithLabel(String label, int index) {
    Matcher matcher = allOf(widgetOfType(List.class), withLabel(label));
    return new SWTBotList((List) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotList

   * @return a {@link SWTBotList} with the specified <code>key/value</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotList listWithId(String key, String value, int index) {
    Matcher matcher = allOf(widgetOfType(List.class), withId(key, value));
    return new SWTBotList((List) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotList

   * @return a {@link SWTBotList} with the specified <code>value</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotList listWithId(String value, int index) {
    Matcher matcher = allOf(widgetOfType(List.class), withId(value));
    return new SWTBotList((List) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotList

   * @return a {@link SWTBotList} with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotList listInGroup(String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(List.class), inGroup(inGroup));
    return new SWTBotList((List) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotList

   * @return a {@link SWTBotList} with the specified <code>none</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotList list(int index) {
    Matcher matcher = allOf(widgetOfType(List.class));
    return new SWTBotList((List) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotList

   * @return a {@link SWTBotList} with the specified <code>label</code> with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotList listWithLabelInGroup(String label, String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(List.class), withLabel(label), inGroup(inGroup));
    return new SWTBotList((List) widget(matcher, index), matcher);
  }
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.