Bug 36155 Workbench Help set on wrong Composite
In BuildPathsPropertyPage and SourceAttachmentPropertyPage the Workbench Help is set on the parent Composite passed to createContents(Composite parent) rather than on the control that is returned from getControl(). As a result the Help for the preference page cannot be used in when performHelp() is called. In JavadocConfigurationPropertyPage and JavaElementInfoPage the Workbench Help is set on a different composite, but still not the control that is returned from getControl().
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaElementInfoPage.java
Label packageContents= new Label(composite, SWT.NONE);
			packageContents.setText(PreferencesMessages.getString("JavaElementInfoPage.package_contents")); 
			Label packageContentsType= new Label(composite, SWT.NONE);
			try {
				if (packageFragment.getKind() == IPackageFragmentRoot.K_SOURCE) 
					packageContentsType.setText(PreferencesMessages.getString("JavaElementInfoPage.source")); 
				else
					packageContentsType.setText(PreferencesMessages.getString("JavaElementInfoPage.binary")); 
			} catch (JavaModelException e) {
				packageContentsType.setText(PreferencesMessages.getString("JavaElementInfoPage.not_present")); 
			}
		} else if (element instanceof IPackageFragmentRoot) {
			Label rootContents= new Label(composite, SWT.NONE);
			rootContents.setText(PreferencesMessages.getString("JavaElementInfoPage.classpath_entry_kind")); 
			Label rootContentsType= new Label(composite, SWT.NONE);
			try {
				IClasspathEntry entry= ((IPackageFragmentRoot)element).getRawClasspathEntry();
				if (entry != null) {
					switch (entry.getEntryKind()) {
						case IClasspathEntry.CPE_SOURCE:
							rootContentsType.setText(PreferencesMessages.getString("JavaElementInfoPage.source")); break; 
						case IClasspathEntry.CPE_PROJECT:
							rootContentsType.setText(PreferencesMessages.getString("JavaElementInfoPage.project")); break; 
						case IClasspathEntry.CPE_LIBRARY:
							rootContentsType.setText(PreferencesMessages.getString("JavaElementInfoPage.library")); break; 
						case IClasspathEntry.CPE_VARIABLE:
							rootContentsType.setText(PreferencesMessages.getString("JavaElementInfoPage.variable")); 
							Label varPath= new Label(composite, SWT.NONE);
							varPath.setText(PreferencesMessages.getString("JavaElementInfoPage.variable_path")); 
							Label varPathVar= new Label(composite, SWT.NONE);