org.eclipse.swtbot.eclipse.finder.waits
Class Conditions

java.lang.Object
  extended by org.eclipse.swtbot.swt.finder.waits.Conditions
      extended by org.eclipse.swtbot.eclipse.finder.waits.Conditions

public class Conditions
extends Conditions

Version:
$Id$
Author:
Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Constructor Summary
Conditions()
           
 
Method Summary
static WaitForEditor waitForEditor(Matcher<IEditorReference> matcher)
           
static WaitForView waitForView(Matcher<IViewReference> matcher)
           
 
Methods inherited from class org.eclipse.swtbot.swt.finder.waits.Conditions
shellCloses, shellIsActive, tableHasRows, treeHasRows, waitForMenu, waitForShell, waitForShell, waitForWidget, waitForWidget, widgetIsEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Conditions

public Conditions()
Method Detail

waitForView

public static WaitForView waitForView(Matcher<IViewReference> matcher)
Parameters:
matcher - a matcher
Returns:
a condition that waits until the matcher evaluates to true.

waitForEditor

public static WaitForEditor waitForEditor(Matcher<IEditorReference> matcher)
Parameters:
matcher - a matcher
Returns:
a condition that waits until the matcher evaluates to true.