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/action/StatusLine.java
fStopButtonCursor= new Cursor(getDisplay(), SWT.CURSOR_ARROW);
	}
	/**
	 * Notifies that the main task is beginning.
	 * 
	 * @param name the name (or description) of the main task
	 * @param totalWork the total number of work units into which
	 * the main task is been subdivided. If the value is 0 or UNKNOWN the 
	 * implemenation is free to indicate progress in a way which doesn't 
	 * require the total number of work units in advance. In general users 
	 * should use the UNKNOWN value if they don't know the total amount of
	 * work units. 
	 */
	public void beginTask(String name, int totalWork) {
		fStartTime= System.currentTimeMillis();
		if (totalWork == UNKNOWN || totalWork == 0) {
			
			final long timestamp= fStartTime;
			Thread t= new Thread() {
				public void run() {
					try {
						sleep(DELAY_PROGRESS);
						StatusLine.this.startAnimatedTask(timestamp);
					} catch (InterruptedException e) {
					}
				}
			};
			t.start();
			
		} else {