d.]]>David Crawshaw2009-04-22T23:32:36-00:00Re: why waitUntilWidgetAppears()?
https://www.eclipse.org/forums/index.php/mv/msg/10703/33174/#msg_33174
encapsulates Timout exception into WidgetNotFoundException. This is most
likely because of existing API.
public void waitUntilWidgetAppears(ICondition waitForWidget) {
try {
waitUntil(waitForWidget);
} catch (TimeoutException e) {
throw new WidgetNotFoundException("Could not find widget.", e);
//$NON-NLS-1$
}
}]]>Ketan Patel2009-04-23T00:31:39-00:00Re: why waitUntilWidgetAppears()?
https://www.eclipse.org/forums/index.php/mv/msg/10703/33282/#msg_33282
WidgetNotFoundException.
I'm also considering changing this method to accept a
WaitForObjectCondition instead of an ICondition to make this distinction
clear. Also WaitForObjectCondition provides for better convenience apis.
-- Ketan
Ketan Patel wrote:
> If you look at the source waitUntilWidgetAppears just calls waitUntil
> and encapsulates Timout exception into WidgetNotFoundException. This is
> most likely because of existing API.
>
> public void waitUntilWidgetAppears(ICondition waitForWidget) {
> try {
> waitUntil(waitForWidget);
> } catch (TimeoutException e) {
> throw new WidgetNotFoundException("Could not find widget.",
> e); //$NON-NLS-1$
> }
> }
>]]>Ketan Padegaonkar2009-04-23T06:47:08-00:00