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/dialogs/ProgressMonitorDialog.java
progressIndicator.done();
			}
		}
		
		public void setTaskName(String name) {
			if (name == null)
				task= "";
			else	
				task= name;
			String s= task;
			if (s.length() <= 0)
				s= DEFAULT_TASKNAME;
			setMessage(s);	
			if(!forked)
				update();
		}
				
		public boolean isCanceled() {
			return fIsCanceled;
		}
		
		public void setCanceled(boolean b) {
			fIsCanceled= b;
		}
		
		public void subTask(String name) {
			if (subTaskLabel.isDisposed())
				return;
				
			if (name == null)