org.eclipse.jface.text.hyperlink |
Package-level Javadoc
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
|
Java Source File Name | Type | Comment |
AbstractHyperlinkDetector.java | Class | A hyperlink detector that can provide adapters through
a context that can be set by the creator of this hyperlink
detector. |
DefaultHyperlinkPresenter.java | Class | The default hyperlink presenter underlines the
link and colors the line and the text with
the given color. |
HyperlinkManager.java | Class | Default implementation of a hyperlink manager. |
IHyperlink.java | Interface | Represents a hyperlink. |
IHyperlinkDetector.java | Interface | A hyperlink detector tries to find a hyperlink at
a given location in a given text viewer.
In order to provide backward compatibility for clients of IHyperlinkDetector , extension
interfaces are used to provide a means of evolution. |
IHyperlinkDetectorExtension.java | Interface | Extends
IHyperlinkDetector with ability
to dispose a hyperlink detector. |
IHyperlinkDetectorExtension2.java | Interface | Extends
IHyperlinkDetector with ability
to specify the state mask of the modifier keys that
need to be pressed for this hyperlink detector. |
IHyperlinkPresenter.java | Interface | A hyperlink presenter shows hyperlinks on the installed text viewer
and allows to pick one on of the hyperlinks.
Clients may implement this interface. |
URLHyperlink.java | Class | URL hyperlink. |
URLHyperlinkDetector.java | Class | URL hyperlink detector. |