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

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


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


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

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

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

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

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

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

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

    private static final String NAME = "Name:";


    public void typeServerName( String serverName )
    {
        SWTBotText connText = bot.textWithLabel( NAME );
        connText.setText( serverName );
    }
View Full Code Here

                assertEquals(null, label.widget.getBackgroundImage());
            }
        });

        // Rule 3 (defaults
        final SWTBotText text = bot.text(0);
        assertFalse(0 == text.backgroundColor().getBlue());
        assertFalse(255 == text.foregroundColor().getBlue());
        Display.getDefault().syncExec(new Runnable() {
            public void run() {
                assertEquals(null, text.widget.getBackgroundImage());
            }
        });
View Full Code Here

TOP

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

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.