* Waits a state specified by a Waitable instance. Should be in org.netbeans.jemmy.operators.AbstractOperator
*
* @see org.netbeans.jemmy.operators.Operator
*/
public void waitState(final Waitable state) {
Waiter stateWaiter = new Waiter(state);
stateWaiter.setTimeouts(getTimeouts().cloneThis());
stateWaiter.getTimeouts().setTimeout("Waiter.WaitingTime", getTimeouts().getTimeout(WAIT_TIMEOUT_NAME));
stateWaiter.setOutput(getOutput().createErrorOutput());
JemmyBoundary.tryWaitAction(stateWaiter, state, fContext);
}