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

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


    public SampleMultiPageEditor(SWTBotMultiPageEditor editor, SWTWorkbenchBot bot) {
      super(editor.getReference(), bot);
    }

    public SWTBotStyledText getText() {
      return new SWTBotStyledText(findWidget(widgetOfType(StyledText.class)));
    }
View Full Code Here


   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  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

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  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

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  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

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  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

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  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

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

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  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

   * @throws WidgetNotFoundException if the widget is not found or is disposed.
   */
  @SuppressWarnings({"unchecked", "rawtypes"})
  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.