Bug 29163 SafeRunnable needs to be accessible in JFace
We need to be able to access the SafeRunnable in JFace in order that some error protection can be added to preferences and properties dialogs.
bundles/org.eclipse.ui.workbench/extensions/org/eclipse/jface/operation/AccumulatingProgressMonitor.java
* Method declared on IProgressMonitor.
 */
public void setTaskName(final String name) {
	synchronized(this) {
		collector= null;
	}	
	display.syncExec(new Runnable() {
		public void run() {
			getWrappedProgressMonitor().setTaskName(name);
		}
	});
}
/* (non-Javadoc)
 * Method declared on IProgressMonitor.
 */
public synchronized void subTask(final String name) {
	if (collector == null) {
		createCollector(name, 0);
	} else {
		collector.subTask(name);
	}
}
/* (non-Javadoc)
 * Method declared on IProgressMonitor.
 */
public synchronized void worked(int work) {
	internalWorked(work);
}
}