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