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.IHyperlink
public String getTypeLabel()
getTypeLabel
in interface org.eclipse.jface.text.hyperlink.IHyperlink
public String getHyperlinkText()
getHyperlinkText
in interface org.eclipse.jface.text.hyperlink.IHyperlink
public void open()
open
in interface org.eclipse.jface.text.hyperlink.IHyperlink
Copyright © 2016. All rights reserved.