org.eclipse.xtext.ui.editor.hyperlinking
Class DefaultHyperlinkDetector

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.hyperlinking.DefaultHyperlinkDetector
All Implemented Interfaces:
org.eclipse.jface.text.hyperlink.IHyperlinkDetector

public class DefaultHyperlinkDetector
extends java.lang.Object
implements org.eclipse.jface.text.hyperlink.IHyperlinkDetector

Represents an implementation of interface IHyperlinkDetector to find and convert elements, at a given location, to IHyperlink.

Author:
Michael Clay - Initial contribution and API
See Also:
IHyperlinkDetector, IHyperlink

Constructor Summary
DefaultHyperlinkDetector()
           
 
Method Summary
 org.eclipse.jface.text.hyperlink.IHyperlink[] detectHyperlinks(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion region, boolean canShowMultipleHyperlinks)
           
 IHyperlinkHelper getHelper()
           
 void setHelper(IHyperlinkHelper helper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHyperlinkDetector

public DefaultHyperlinkDetector()
Method Detail

detectHyperlinks

public org.eclipse.jface.text.hyperlink.IHyperlink[] detectHyperlinks(org.eclipse.jface.text.ITextViewer textViewer,
                                                                      org.eclipse.jface.text.IRegion region,
                                                                      boolean canShowMultipleHyperlinks)
Specified by:
detectHyperlinks in interface org.eclipse.jface.text.hyperlink.IHyperlinkDetector

setHelper

public void setHelper(IHyperlinkHelper helper)

getHelper

public IHyperlinkHelper getHelper()