Bug 36141 Misbehaving property page causes property dialog to fail to open
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
tree.setFocus();
				}
			}
		}
	}
	/**
	 * Get the name of the selected item preference
	 */
	protected String getSelectedNodePreference() {
		return lastPreferenceId;
	}
	/**
	 * Get the name of the selected item preference
	 */
	protected void setSelectedNodePreference(String pageId) {
		lastPreferenceId = pageId;
	}
	/**
	 * Get the node that was last selected in the dialog store.
	 * If there is no match then return the first one,
	 */
	private TreeItem getLastSelectedNode(TreeItem[] items) {
		String lastSelectedNode = getSelectedNodePreference();
		if (lastSelectedNode == null)
			return items[0];
		TreeItem selectedItem = findNodeMatching(items, lastSelectedNode);
		if (selectedItem == null)
			return items[0];
		else