Class ASTHyperlink
- java.lang.Object
-
- org.eclipse.epsilon.common.dt.editor.hyperlinks.ASTHyperlink
-
- All Implemented Interfaces:
org.eclipse.jface.text.hyperlink.IHyperlink
public class ASTHyperlink extends java.lang.Object implements org.eclipse.jface.text.hyperlink.IHyperlink
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
label
protected org.eclipse.jface.text.IRegion
region
protected ModuleElement
targetAST
-
Constructor Summary
Constructors Constructor Description ASTHyperlink(org.eclipse.jface.text.IRegion region, ModuleElement targetAST, java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jface.text.IRegion
getHyperlinkRegion()
java.lang.String
getHyperlinkText()
java.lang.String
getTypeLabel()
void
open()
-
-
-
Field Detail
-
region
protected org.eclipse.jface.text.IRegion region
-
targetAST
protected ModuleElement targetAST
-
label
protected java.lang.String label
-
-
Constructor Detail
-
ASTHyperlink
public ASTHyperlink(org.eclipse.jface.text.IRegion region, ModuleElement targetAST, java.lang.String label)
-
-
Method Detail
-
getHyperlinkRegion
public org.eclipse.jface.text.IRegion getHyperlinkRegion()
- Specified by:
getHyperlinkRegion
in interfaceorg.eclipse.jface.text.hyperlink.IHyperlink
-
getTypeLabel
public java.lang.String getTypeLabel()
- Specified by:
getTypeLabel
in interfaceorg.eclipse.jface.text.hyperlink.IHyperlink
-
getHyperlinkText
public java.lang.String getHyperlinkText()
- Specified by:
getHyperlinkText
in interfaceorg.eclipse.jface.text.hyperlink.IHyperlink
-
open
public void open()
- Specified by:
open
in interfaceorg.eclipse.jface.text.hyperlink.IHyperlink
-
-