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

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


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


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

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

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

    assertText("", textBoxesOnButtonTab.get(0));

    // switch to another tab
    Matcher<TabItem> withText = withText("Text");
    List<TabItem> tabItems = controlFinder.findControls(allOf(widgetOfType(TabItem.class), withText));
    new SWTBotTabItem(tabItems.get(0)).activate();

    // should get different tabs this time
    List<Text> textBoxesOnTextTab = controlFinder.findControls(widgetOfType(Text.class));
    assertEquals(2, textBoxesOnTextTab.size());
    assertNotSameWidget(textBoxesOnButtonTab.get(0), textBoxesOnTextTab.get(0));
View Full Code Here

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

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

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

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

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

TOP

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

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.