Examples of SWTBotToolbarButton


Examples of net.sf.swtbot.widgets.SWTBotToolbarButton

   * @return a wrapper around the toolbar button with the specified text.
   * @throws WidgetNotFoundException if the widget is not found.
   * @since 1.0
   */
  public SWTBotToolbarButton toolbarButton(String text, int index) throws WidgetNotFoundException {
    return new SWTBotToolbarButton(finder, text, index);
  }
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotToolbarButton

   * @return a wrapper around the toolbar button with the specified text.
   * @throws WidgetNotFoundException if the widget is not found.
   * @since 1.0
   */
  public SWTBotToolbarButton toolbarButton(String text, int index) throws WidgetNotFoundException {
    return new SWTBotToolbarButton(finder, text, index);
  }
View Full Code Here

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   * @return a {@link SWTBotToolbarButton} with the specified <code>tooltip</code> with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotToolbarButton toolbarButtonWithTooltipInGroup(String tooltip, String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(ToolItem.class), withTooltip(tooltip), inGroup(inGroup));
    return new SWTBotToolbarButton((ToolItem) widget(matcher, index), matcher);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.