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
((GridLayout)parent.getLayout()).numColumns++;
	Button button = new Button(parent, SWT.PUSH);
	button.setText(IDialogConstants.CANCEL_LABEL);
	setButtonLayoutData(button);
	button.setFont(parent.getFont());
	
	button.setData(new Integer(IDialogConstants.CANCEL_ID));
	button.addSelectionListener(cancelListener);
	return button;
}
/**
 * The <code>WizardDialog</code> implementation of this <code>Window</code>
 * method calls call <code>IWizard.addPages</code> to allow the current
 * wizard to add extra pages, then <code>super.createContents</code> to create
 * the controls. It then calls <code>IWizard.createPageControls</code>
 * to allow the wizard to pre-create their page controls prior to opening,
 * so that the wizard opens to the correct size. And finally it
 * shows the first page.
 */
protected Control createContents(Composite parent) {
	
	
	
	wizard.addPages();
	Control contents = super.createContents(parent);
	
	createPageControls();
	
	showStartingPage();