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

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


   * @throws WidgetNotFoundException if the widget is <code>null</code> or widget has been disposed.
   * @since 2.0
   */
  public SWTBotEclipseEditor(IEditorReference editorReference, SWTEclipseBot bot) throws WidgetNotFoundException {
    super(editorReference, bot);
    this.styledText = new SWTBotStyledText((StyledText) findWidget(widgetOfType(StyledText.class)));
    this.widget = this.styledText.widget;
  }
View Full Code Here


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

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

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

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

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

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

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

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

   * @throws WidgetNotFoundException if the widget is <code>null</code> or widget has been disposed.
   * @since 2.0
   */
  public SWTBotEclipseEditor(IEditorReference editorReference, SWTWorkbenchBot bot) throws WidgetNotFoundException {
    super(editorReference, bot);
    this.styledText = new SWTBotStyledText(widget());
  }
View Full Code Here

TOP

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

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.