Class 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)  
    • Field Detail

      • region

        protected org.eclipse.jface.text.IRegion region
      • 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 interface org.eclipse.jface.text.hyperlink.IHyperlink
      • getTypeLabel

        public java.lang.String getTypeLabel()
        Specified by:
        getTypeLabel in interface org.eclipse.jface.text.hyperlink.IHyperlink
      • getHyperlinkText

        public java.lang.String getHyperlinkText()
        Specified by:
        getHyperlinkText in interface org.eclipse.jface.text.hyperlink.IHyperlink
      • open

        public void open()
        Specified by:
        open in interface org.eclipse.jface.text.hyperlink.IHyperlink