[579307] - Oomph editor blocking ui

Only do the workspace refresh if a resource is out-of-sync which will be
rare.

Also make the operation cancelable so the UI won't be locked until the
build completes.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=579307
1 file changed