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
private String fSubTask= "";
		private boolean fIsCanceled;
		protected boolean forked = false;
		
		public void beginTask(String name, int totalWork) {
			if (progressIndicator.isDisposed())
				return;
				
			if (name == null)
				task= "";
			else	
				task= name;
			String s= task;
			if (s.length() <= 0)
				s= DEFAULT_TASKNAME;
			setMessage(s);	
			if(!forked)
				update();
			
			if (totalWork == UNKNOWN) {
				progressIndicator.beginAnimatedTask();
			} else {
				progressIndicator.beginTask(totalWork);
			}	
		}
		
		public void done() {
			if (!progressIndicator.isDisposed()) {
				progressIndicator.sendRemainingWork();