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/PreferencePage.java
}
			});
			applyButton = new Button(buttonBar, SWT.PUSH);
			applyButton.setFont(font);
			applyButton.setText(labels[1]);
			data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
			data.heightHint = heightHint;
			data.widthHint =
				Math.max(
					widthHint,
					applyButton.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x);
			applyButton.setLayoutData(data);
			applyButton.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					performApply();
				}
			});
			applyButton.setEnabled(isValid());
		} else {
			/* Check if there are any other buttons on the button bar.
			 * If not, throw away the button bar composite.  Otherwise
			 * there is an unusually large button bar.
			 */
			if (buttonBar.getChildren().length < 1)
				buttonBar.dispose();
		}
	}
	/**
	 * Creates and returns an SWT label under the given composite.
	 *