|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.hyperlink.URLHyperlink
URL hyperlink.
Constructor Summary | |
---|---|
URLHyperlink(IRegion region,
String urlString)
Creates a new URL hyperlink. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLHyperlink(IRegion region, String urlString)
region
- urlString
- Method Detail |
public IRegion getHyperlinkRegion()
IHyperlink
getHyperlinkRegion
in interface IHyperlink
public void open()
IHyperlink
open
in interface IHyperlink
public String getTypeLabel()
IHyperlink
This type label can be used by IHyperlinkPresenter
s
which show several hyperlinks at once.
getTypeLabel
in interface IHyperlink
null
if nonepublic String getHyperlinkText()
IHyperlink
This can be used in situations where there are several targets for the same hyperlink location.
getHyperlinkText
in interface IHyperlink
null
if none
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.