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/wizard/WizardDialog.java
if (delta.x > 0 || delta.y > 0) {
	     
		Shell shell = getShell();
		Point shellSize = shell.getSize();
		setShellSize(shellSize.x + delta.x, shellSize.y + delta.y);
		constrainShellSize();
	}
}
/**
 * Computes the correct dialog size for the given wizard and resizes 
 * its shell if nessessary.
 *
 * @param wizard the wizard
 */
private void updateSizeForWizard(IWizard wizard) {
	Point delta = new Point(0,0);
	IWizardPage[] pages = wizard.getPages();
	for (int i = 0; i < pages.length; i++){
		
		Point pageDelta = calculatePageSizeDelta(pages[i]);
		delta.x = Math.max(delta.x, pageDelta.x);
		delta.y = Math.max(delta.y, pageDelta.y);
	}
	
	if (delta.x > 0 || delta.y > 0) {
	     
		Shell shell = getShell();
		Point shellSize = shell.getSize();
		setShellSize(shellSize.x + delta.x, shellSize.y + delta.y);
	}