Package org.eclipse.swtbot.swt.finder.widgets

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


   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  public SWTBotCombo comboBoxWithId(String value, int index) {
    Matcher matcher = allOf(widgetOfType(Combo.class), withId(value));
    return new SWTBotCombo((Combo) widget(matcher, index), matcher);
  }
View Full Code Here


   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  public SWTBotCombo comboBoxInGroup(String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Combo.class), inGroup(inGroup));
    return new SWTBotCombo((Combo) widget(matcher, index), matcher);
  }
View Full Code Here

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  public SWTBotCombo comboBox(int index) {
    Matcher matcher = allOf(widgetOfType(Combo.class));
    return new SWTBotCombo((Combo) widget(matcher, index), matcher);
  }
View Full Code Here

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  public SWTBotCombo comboBoxWithLabelInGroup(String label, String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Combo.class), withLabel(label), inGroup(inGroup));
    return new SWTBotCombo((Combo) widget(matcher, index), matcher);
  }
View Full Code Here

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  public SWTBotCombo comboBoxInGroup(String text, String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Combo.class), withText(text), inGroup(inGroup));
    return new SWTBotCombo((Combo) widget(matcher, index), matcher);
  }
View Full Code Here

   *
   */
  private void playWithCombos() throws Exception {
    bot.tabItem("Combo").activate(); //$NON-NLS-1$
    bot.checkBox("Listen").click(); //$NON-NLS-1$
    SWTBotCombo comboBox = bot.comboBox("Line 3"); //$NON-NLS-1$
    bot.button("Clear").click(); //$NON-NLS-1$
    comboBox.setSelection("Line 7"); //$NON-NLS-1$
    bot.checkBox("Listen").click(); //$NON-NLS-1$
    bot.tabItem("Button").activate(); //$NON-NLS-1$
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo

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.