Package org.eclipse.jface.text.hyperlink


package org.eclipse.jface.text.hyperlink
Provides support for detecting and displaying hyperlinks in ISourceViewers.

SourceViewer supports hyperlinked text regions inline in the displayed text. It delegates the detection and presentation of hyperlinks to IHyperlinkDetector and IHyperlinkPresenter, respectively.

Override the following methods in SourceViewerConfiguration to customize the hyperlink behavior of a source viewer:

  • getHyperlinkDetectors() to specify the set of hyperlink detectors used by the viewer
  • getHyperlinkPresenter() to specify the set of hyperlink presenters used by the viewer
  • getHyperlinkStateMask() to specify when hyperlinks are activated