|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory org.eclipse.swtbot.eclipse.finder.matchers.WidgetMatcherFactory
public abstract class WidgetMatcherFactory
Constructor Summary | |
---|---|
WidgetMatcherFactory()
|
Method Summary | ||
---|---|---|
static
|
withPartId(Matcher<String> idMatcher)
Matches a workbench part (view/editor) with the specified id. |
|
static
|
withPartId(String id)
Matches a workbench part (view/editor) with the specified id. |
|
static
|
withPartName(Matcher<String> nameMatcher)
Matches a workbench part (view/editor) with the specified name. |
|
static
|
withPartName(String text)
Matches a workbench part (view/editor) with the specfied name. |
|
static Matcher |
withPerspectiveId(Matcher<String> idMatcher)
Matches a perspective with the specified id. |
|
static Matcher |
withPerspectiveId(String id)
Matches a perspective with the specified id. |
|
static Matcher |
withPerspectiveLabel(Matcher<String> labelMatcher)
Matches a perspective with the specified label. |
|
static Matcher |
withPerspectiveLabel(String label)
Matches a perspective with the specified label. |
Methods inherited from class org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory |
---|
allOf, allOf, anyOf, anyOf, inGroup, inGroup, inUIThread, widgetOfType, withId, withId, withItem, withLabel, withLabel, withMessage, withMnemonic, withRegex, withStyle, withText, withTextIgnoringCase, withTooltip, withTooltipIgoringCase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WidgetMatcherFactory()
Method Detail |
---|
public static <T extends IWorkbenchPartReference> Matcher<T> withPartName(String text)
text
- the label of the part.
public static <T extends IWorkbenchPartReference> Matcher<T> withPartName(Matcher<String> nameMatcher)
nameMatcher
- the part name matcher.
public static <T extends IWorkbenchPartReference> Matcher<T> withPartId(String id)
id
- the id of the part.
public static <T extends IWorkbenchPartReference> Matcher<T> withPartId(Matcher<String> idMatcher)
idMatcher
- the part id matcher.
public static Matcher withPerspectiveId(String id)
id
- the id of the perspective.
public static Matcher withPerspectiveId(Matcher<String> idMatcher)
idMatcher
- the matcher that matches the id of the perspective.
public static Matcher withPerspectiveLabel(String label)
label
- the label of the perspective.
public static Matcher withPerspectiveLabel(Matcher<String> labelMatcher)
labelMatcher
- the matcher that matches the perspective label.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |