*
* @return <code>true</code> if the widget is visible, <code>false</code> otherwise.
* @since 1.0
*/
public boolean isVisible() {
return syncExec(new BoolResult() {
public Boolean run() {
if (widget instanceof Control)
return ((Control) widget).isVisible();
return true;
}