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/Wizard.java
*/
public IDialogSettings getDialogSettings() {
	return dialogSettings;
}
/* (non-Javadoc)
 * Method declared on IWizard.
 * The default behavior is to return the page that 
 * was added to this wizard after the given page.
 */
public IWizardPage getNextPage(IWizardPage page) {
	int index = pages.indexOf(page);
	if (index == pages.size() - 1 || index == -1)
		
		return null;
		
	return (IWizardPage)pages.get(index + 1);
}
/* (non-Javadoc)
 * Method declared on IWizard.
 */
public IWizardPage getPage(String name) {
	for (int i= 0; i < pages.size(); i++) {
		IWizardPage page = (IWizardPage)pages.get(i);
		String pageName = page.getName();
		if (pageName.equals(name))
			return page;
	}
	return null;	
}
/* (non-Javadoc)