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/BuildPathsPropertyPage.java
} else {
			result= createWithJava(parent, project);
		}
		Dialog.applyDialogFont(result);
		return result;
	}
	
	private IDialogSettings getSettings() {
		IDialogSettings javaSettings= JavaPlugin.getDefault().getDialogSettings();
		IDialogSettings pageSettings= javaSettings.getSection(PAGE_SETTINGS);
		if (pageSettings == null) {
			pageSettings= javaSettings.addNewSection(PAGE_SETTINGS);
			pageSettings.put(INDEX, 3);
		}
		return pageSettings;
	}
	
	
	/**
	 * Content for valid projects.
	 */
	private Control createWithJava(Composite parent, IProject project) {
		fBuildPathsBlock= new BuildPathsBlock(this, getSettings().getInt(INDEX));
		fBuildPathsBlock.init(JavaCore.create(project), null, null);
		return fBuildPathsBlock.createControl(parent);
	}
	/**
	 * Content for non-Java projects.
	 */	
	private Control createWithoutJava(Composite parent) {