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
if (waitCursor != null)
			waitCursor.dispose();
		arrowCursor = null;
		waitCursor = null;
		return super.close();
	}
	return false;
}
/* (non-Javadoc)
 * Method declared in Window.
 */
protected void configureShell(Shell shell) {
	super.configureShell(shell);
	shell.setText(JFaceResources.getString("ProgressMonitorDialog.title")); 
	if(waitCursor == null)
		waitCursor = new Cursor(shell.getDisplay(),SWT.CURSOR_WAIT);
	shell.setCursor(waitCursor);
}
/* (non-Javadoc)
 * Method declared on Dialog.
 */
protected void createButtonsForButtonBar(Composite parent) {
			
	cancel = createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, true);
	if(arrowCursor == null)
		arrowCursor = new Cursor(cancel.getDisplay(),SWT.CURSOR_ARROW);		
	cancel.setCursor(arrowCursor);
	cancel.addListener(SWT.Selection,
		new Listener() {
			public void handleEvent(Event e) {