public class ASTHyperlink extends Object implements org.eclipse.jface.text.hyperlink.IHyperlink
| Modifier and Type | Field and Description |
|---|---|
protected String |
label |
protected org.eclipse.jface.text.IRegion |
region |
protected ModuleElement |
targetAST |
| Constructor and Description |
|---|
ASTHyperlink(org.eclipse.jface.text.IRegion region,
ModuleElement targetAST,
String label) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jface.text.IRegion |
getHyperlinkRegion() |
String |
getHyperlinkText() |
String |
getTypeLabel() |
void |
open() |
protected org.eclipse.jface.text.IRegion region
protected ModuleElement targetAST
protected String label
public ASTHyperlink(org.eclipse.jface.text.IRegion region,
ModuleElement targetAST,
String label)
public org.eclipse.jface.text.IRegion getHyperlinkRegion()
getHyperlinkRegion in interface org.eclipse.jface.text.hyperlink.IHyperlinkpublic String getTypeLabel()
getTypeLabel in interface org.eclipse.jface.text.hyperlink.IHyperlinkpublic String getHyperlinkText()
getHyperlinkText in interface org.eclipse.jface.text.hyperlink.IHyperlinkpublic void open()
open in interface org.eclipse.jface.text.hyperlink.IHyperlinkCopyright © 2020. All rights reserved.