Bug 33488 [Preferences] [Help] F1 help should always give help about the selected page
build I20030227 - Window / Preferences - focus is in tree at left - F1 - it gives you help about the dialog, not the selected page - give the selected page focus - F1 - it gives you help about the page F1 should always give you help about the selected page. It should also give help about the dialog at the same time, if possible (e.g. a link for the page, and a link for the dialog).
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
/**
	 * Save the currently selected node. 
	 */
	private void setSelectedNode() {
		String storeValue = null;
		if (tree.getSelectionCount() == 1) {
			TreeItem currentSelection = tree.getSelection()[0];
			Object data = currentSelection.getData();
			if (currentSelection.getData() instanceof IPreferenceNode)
				storeValue = ((IPreferenceNode) data).getId();
		}
		setSelectedNodePreference(storeValue);
	}
	/**
	 * Display the given error message. The currently displayed message
	 * is saved and will be redisplayed when the error message is set
	 * to <code>null</code>.
	 *
	 * @param errorMessage the errorMessage to display or <code>null</code>
	 */
	public void setErrorMessage(String newErrorMessage) {
		
		if (errorMessage == null
			? newErrorMessage == null
			: errorMessage.equals(newErrorMessage))
			return;
		errorMessage = newErrorMessage;
		if (errorMessage == null) {
			if (showingError) {