org.eclipse.swtbot.swt.finder.widgets
Class SWTBotToolbarSeparatorButton
java.lang.Object
org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot<ToolItem>
org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarButton
org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarSeparatorButton
public class SWTBotToolbarSeparatorButton
- extends SWTBotToolbarButton
This represents a toolbar item that is a separator.
- Since:
- 2.0
- Version:
- $Id: SWTBotToolbarDropDownButton.java 431 2009-11-06 07:11:15Z kpadegaonka $
- Author:
- Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
Methods inherited from class org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot |
absoluteLocation, assertEnabled, asyncExec, backgroundColor, click, clickXY, contextMenu, contextMenu, createEvent, createMouseEvent, createSelectionEvent, doubleClickXY, foregroundColor, getId, getText, getToolTipText, hasStyle, isActive, isEnabledInternal, isVisible, keyboard, notify, notify, notify, pressShortcut, pressShortcut, pressShortcut, rightClick, rightClick, setFocus, sleep, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, syncExec, toString, traverse, waitForEnabled |
SWTBotToolbarSeparatorButton
public SWTBotToolbarSeparatorButton(ToolItem w)
throws WidgetNotFoundException
- Constructs an new instance of this item.
- Parameters:
w
- the tool item.
- Throws:
WidgetNotFoundException
- if the widget is null
or widget has been disposed.
SWTBotToolbarSeparatorButton
public SWTBotToolbarSeparatorButton(ToolItem w,
SelfDescribing description)
throws WidgetNotFoundException
- Constructs an new instance of this item.
- Parameters:
w
- the tool item.description
- the description of the widget, this will be reported by AbstractSWTBot.toString()
- Throws:
WidgetNotFoundException
- if the widget is null
or widget has been disposed.
click
public SWTBotToolbarSeparatorButton click()
- Click on the tool item.
- Specified by:
click
in class SWTBotToolbarButton
- Returns:
- itself.
- Since:
- 2.0