|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.hyperlink.URLHyperlink
public class 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. |
String |
getURLString()
Returns the URL string of this 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 - the regionurlString - the URL string| Method Detail |
|---|
public IRegion getHyperlinkRegion()
IHyperlink
getHyperlinkRegion in interface IHyperlinkpublic void open()
IHyperlink
open in interface IHyperlinkpublic String getTypeLabel()
IHyperlink
This type label can be used by IHyperlinkPresenters
which show several hyperlinks at once.
getTypeLabel in interface IHyperlinknull if nonepublic String getHyperlinkText()
IHyperlinkThis can be used in situations where there are several targets for the same hyperlink location.
getHyperlinkText in interface IHyperlinknull if nonepublic String getURLString()
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.