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

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


   * @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

        bot.button( "Add" ).click();
        bot.button( "Next >" ).click();

        SWTBotCombo typeCombo = bot.comboBox( "" );
        typeCombo.setText( "o" );
        SWTBotText valueText = bot.text( "" );
        valueText.setText( name );
        SWTBotUtils.asyncClick( bot, bot.button( "Next >" ), new DefaultCondition()
        {
            public boolean test() throws Exception
            {
                return bot.button( "Finish" ).isEnabled();
View Full Code Here

        // click to finish editing of value
        tree.getTreeItem( type ).click();

        tree.getTreeItem( type ).doubleClick();
        SWTBotText text = bot.text( "" );
        text.setText( value );

        // click to finish editing of value
        tree.getTreeItem( type ).click();
    }
View Full Code Here

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

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