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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text.hyperlink
Interface IHyperlink

All Known Implementing Classes:
URLHyperlink

public interface IHyperlink

Represents a hyperlink.

Clients may implement this interface.

Since:
3.1

Method Summary
  IRegion getHyperlinkRegion ()
          The region covered by this type of hyperlink.
  String getHyperlinkText ()
          Optional text for this hyperlink.
  String getTypeLabel ()
          Optional label for this type of hyperlink.
 void open ()
          Opens the given hyperlink.
 

Method Detail

getHyperlinkRegion


IRegion getHyperlinkRegion()
The region covered by this type of hyperlink.

Returns:
the hyperlink region

getTypeLabel


String getTypeLabel()
Optional label for this type of hyperlink.

This type label can be used by IHyperlinkPresenters which show several hyperlinks at once.

Returns:
the type label or null if none

getHyperlinkText


String getHyperlinkText()
Optional text for this hyperlink.

This can be used in situations where there are several targets for the same hyperlink location.

Returns:
the text or null if none

open

void open()
Opens the given hyperlink.


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