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
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