Package org.eclipse.jface.text.hyperlink
Class URLHyperlink
java.lang.Object
org.eclipse.jface.text.hyperlink.URLHyperlink
- All Implemented Interfaces:
- IHyperlink
URL hyperlink.
- Since:
- 3.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe region covered by this type of hyperlink.Optional text for this hyperlink.Optional label for this type of hyperlink.Returns the URL string of this hyperlink.voidopen()Opens the given hyperlink.
- 
Constructor Details- 
URLHyperlinkCreates a new URL hyperlink.- Parameters:
- region- the region
- urlString- the URL string
 
 
- 
- 
Method Details- 
getHyperlinkRegionDescription copied from interface:IHyperlinkThe region covered by this type of hyperlink.- Specified by:
- getHyperlinkRegionin interface- IHyperlink
- Returns:
- the hyperlink region
 
- 
openpublic void open()Description copied from interface:IHyperlinkOpens the given hyperlink.- Specified by:
- openin interface- IHyperlink
 
- 
getTypeLabelDescription copied from interface:IHyperlinkOptional label for this type of hyperlink.This type label can be used by IHyperlinkPresenters which show several hyperlinks at once.- Specified by:
- getTypeLabelin interface- IHyperlink
- Returns:
- the type label or nullif none
 
- 
getHyperlinkTextDescription copied from interface:IHyperlinkOptional text for this hyperlink.This can be used in situations where there are several targets for the same hyperlink location. - Specified by:
- getHyperlinkTextin interface- IHyperlink
- Returns:
- the text or nullif none
 
- 
getURLStringReturns the URL string of this hyperlink.- Returns:
- the URL string
- Since:
- 3.2
 
 
-