Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Eclipse Platform
Release 3.5

Package org.eclipse.jface.text.hyperlink

Provides support for detecting and displaying hyperlinks in ISourceViewers.


Interface Summary
IHyperlink Represents a hyperlink.
IHyperlinkDetector A hyperlink detector tries to find a hyperlink at a given location in a given text viewer.
IHyperlinkDetectorExtension Extends IHyperlinkDetector with ability to dispose a hyperlink detector.
IHyperlinkDetectorExtension2 Extends IHyperlinkDetector with ability to specify the state mask of the modifier keys that need to be pressed for this hyperlink detector.
IHyperlinkPresenter A hyperlink presenter shows hyperlinks on the installed text viewer and allows to pick one on of the hyperlinks.
IHyperlinkPresenterExtension Extends IHyperlinkPresenter with ability to query whether the currently shown hyperlinks can be hidden.

Class Summary
AbstractHyperlinkDetector A hyperlink detector that can provide adapters through a context that can be set by the creator of this hyperlink detector.
DefaultHyperlinkPresenter The default hyperlink presenter underlines the link and colors the line and the text with the given color.
HyperlinkManager Default implementation of a hyperlink manager.
HyperlinkManager.DETECTION_STRATEGY Detection strategy.
MultipleHyperlinkPresenter A hyperlink presenter capable of showing multiple hyperlinks in a hover.
URLHyperlink URL hyperlink.
URLHyperlinkDetector URL hyperlink detector.

Package org.eclipse.jface.text.hyperlink Description

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire