ISourceViewer
s.
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 viewergetHyperlinkPresenter()
to specify the set of hyperlink presenters used by the viewergetHyperlinkStateMask()
to specify when hyperlinks are activated