Bug 168301 [ErrorHandling] JFace SafeRunnable should use new error handling
bundles/org.eclipse.jface/src/org/eclipse/jface/util/SafeRunnable.java
dialog = new SafeRunnableDialog(status);
						dialog.create();
						dialog.getShell().addDisposeListener(
								new DisposeListener() {
									public void widgetDisposed(DisposeEvent e) {
										dialog = null;
									}
								});
						dialog.open();
					} else {
						dialog.addStatus(status);
						dialog.refresh();
					}
				}
			};
			if (Display.getCurrent() != null) {
				runnable.run();
			} else {
				Display.getDefault().asyncExec(runnable);
			}
		}
	}
	/**
	 * Flag to avoid interactive error dialogs during automated testing.
	 * 
	 * @param flag
	 * @return true if errors should be ignored
	 * @deprecated use getIgnoreErrors()
	 */
	public static boolean getIgnoreErrors(boolean flag) {