Bug 177405 [Preferences] Layout issues with Text Boxes and Scrollbars
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
.iterator();
					while (nodes.hasNext()) {
						IPreferenceNode node = (IPreferenceNode) nodes.next();
						IPreferencePage page = node.getPage();
						if (page != null) {
							if (!page.performOk()){
								hasFailedOK = true;
								return;
							}
						}
					}
				} catch (Exception e) {
					handleException(e);
				} finally {
					
					if(hasFailedOK){
						setReturnCode(FAILED);
						getButton(IDialogConstants.OK_ID).setEnabled(true);
						return;
					}
					
					if (!errorOccurred) {
						
					    
						handleSave();
					}
					setReturnCode(OK);
					close();
				}
			}