Bug 94921 Inconsistent hyperlink descriptions in Java Editor preference page [preferences]
I20050509-2010: Typing: Hover of compiler warnings and spell checking preferences links show same description Code Assist: Missing hover for restricted references link Syntax Coloring: Wrong description for text editors link
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SmartTypingConfigurationBlock.java
GridLayout layout= new GridLayout();
		composite.setLayout(layout);
		
		String label;
		
		label= PreferencesMessages.JavaEditorPreferencePage_smartHomeEnd; 
		addCheckBox(composite, label, PreferenceConstants.EDITOR_SMART_HOME_END, 1);
		label= PreferencesMessages.JavaEditorPreferencePage_subWordNavigation; 
		addCheckBox(composite, label, PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION, 1);
	}
	private void addOthersSection(Composite composite) {
		GridLayout layout= new GridLayout();
		composite.setLayout(layout);
		String label;
		label= PreferencesMessages.JavaEditorPreferencePage_analyseAnnotationsWhileTyping; 
		addCheckBox(composite, label, PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS, INDENT);
		
		String text= PreferencesMessages.SmartTypingConfigurationBlock_annotationReporting_link; 
		String tooltip= PreferencesMessages.SmartTypingConfigurationBlock_annotationReporting_linktooltip;
		final Link link= new Link(composite, SWT.NONE);
		link.setText(text);
		link.setToolTipText(tooltip);
		GridData gd= new GridData(SWT.FILL, SWT.BEGINNING, true, false);
		gd.widthHint= 300; 
		link.setLayoutData(gd);
		link.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				PreferencesUtil.createPreferenceDialogOn(link.getShell(), e.text, null, null); 
			}
		});