org.eclipse.swtbot.swt.finder.matchers
Class InUIThread<T extends Widget>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher<T>
org.eclipse.swtbot.swt.finder.matchers.InUIThread<T>
- All Implemented Interfaces:
- org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
Deprecated. this has been deprecated and will be removed in future releases of swtbot
public class InUIThread<T extends Widget>
- extends AbstractMatcher<T>
Matches another matcher in the context of the UI thread. Useful if you want to make a matcher UI thread safe.
- Since:
- 2.0
- Version:
- $Id$
- Author:
- Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
|
Method Summary |
void |
describeTo(org.hamcrest.Description description)
Deprecated. |
protected boolean |
doMatch(Object obj)
Deprecated. Subclasses must override, this is the actual method that does the matching |
static
<T extends Widget>
org.hamcrest.Matcher<T> |
|
inUIThread(org.hamcrest.Matcher<?> matcher)
Deprecated. this has been deprecated and will be removed in future releases of swtbot. |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
doMatch
protected boolean doMatch(Object obj)
- Deprecated.
- Description copied from class:
AbstractMatcher
- Subclasses must override, this is the actual method that does the matching
- Specified by:
doMatch in class AbstractMatcher<T extends Widget>
- Parameters:
obj - the item to match.
- Returns:
true if the item matches, false otherwise.
describeTo
public void describeTo(org.hamcrest.Description description)
- Deprecated.
inUIThread
public static <T extends Widget> org.hamcrest.Matcher<T> inUIThread(org.hamcrest.Matcher<?> matcher)
- Deprecated. this has been deprecated and will be removed in future releases of swtbot.
- Matches another matcher in the context of the UI thread. Useful if you want to make a matcher UI thread safe.
- Parameters:
matcher - the matcher
- Returns:
- a matcher.
- Since:
- 2.0