detectors[0]= new JavaElementHyperlinkDetector(fTextEditor); detectors[1]= new NLSKeyHyperlinkDetector(fTextEditor);
detectors[0]= new NLSKeyHyperlinkDetector(fTextEditor); detectors[1]= new JavaElementHyperlinkDetector(fTextEditor);
	public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {		if (!fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED))			return null;		IHyperlinkDetector[] inheritedDetectors= super.getHyperlinkDetectors(sourceViewer);		if (fTextEditor == null)			return inheritedDetectors;		int inheritedDetectorsLength= inheritedDetectors != null ? inheritedDetectors.length : 0;		IHyperlinkDetector[] detectors= new IHyperlinkDetector[inheritedDetectorsLength + 2];		detectors[0]= new JavaElementHyperlinkDetector(fTextEditor);		detectors[1]= new NLSKeyHyperlinkDetector(fTextEditor);		for (int i= 0; i < inheritedDetectorsLength; i++)			detectors[i+2]= inheritedDetectors[i];		return detectors;	}