Bug 85255 Replace custom Link implementation with SWT Link
I20050215-0800 Replace custom Link implementation with SWT Link. Note: improve work for translators and get rid of cutom escape chars in string.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SmartTypingConfigurationBlock.java
composite= createSubsection(control, manager, PreferencesMessages.getString("SmartTypingConfigurationBlock.pasting.title")); 
		addPasteSection(composite);
		
		composite= createSubsection(control, manager, PreferencesMessages.getString("SmartTypingConfigurationBlock.strings.title")); 
		addStringsSection(composite);
		
		composite= createSubsection(control, manager, PreferencesMessages.getString("SmartTypingConfigurationBlock.other.title")); 
		addOthersSection(composite);
		
		return control;
	}
	private Composite createSubsection(Composite parent, SectionManager manager, String label) {
		if (manager != null) {
			return manager.createSection(label);
		} else {
			Group group= new Group(parent, SWT.SHADOW_NONE);
			group.setText(label);
			GridData data= new GridData(SWT.FILL, SWT.CENTER, true, false);
			group.setLayoutData(data);
			return group;
		}
	}
	
	private void addOthersSection(Composite composite) {
		GridLayout layout= new GridLayout();
		composite.setLayout(layout);
		String label;
		label= PreferencesMessages.getString("JavaEditorPreferencePage.analyseAnnotationsWhileTyping"); 
		addCheckBox(composite, label, PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS, INDENT);
	}