Bug 25419 [Dialogs] Can't Maximize Window: "Preferences"
Build: 200210181211 The "Preferences" window cannot be maximized since it neither has a maximize title bar button nor does the title bar respond to being double-clicked. The only work around is to reside the window manually by dragging the border. For short-lived windows this is too detail-oriented and time-consuming.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
}
/**
 * The preference dialog implementation of this <code>Dialog</code>
 * framework method sends <code>performOk</code> to all pages of the 
 * preference dialog, then calls <code>handleSave</code> on this dialog
 * to save any state, and then calls <code>close</code> to close
 * this dialog.
 */
protected void okPressed() {
	
	Iterator nodes = preferenceManager.getElements(PreferenceManager.PRE_ORDER).iterator();
	while (nodes.hasNext()) {
		IPreferenceNode node = (IPreferenceNode) nodes.next();
		IPreferencePage page = node.getPage();
		if (page != null) {
			if(!page.performOk())
				return;
		}
	}
	
	
	handleSave();
	close();
}
/**
 * Selects the page determined by <code>currentTreeItem</code> in
 * the page hierarchy.
 */
private void selectCurrentPageAgain() {
	tree.setSelection(new TreeItem[] { currentTreeItem });