Class ModuleElementHyperlink

  • All Implemented Interfaces:
    org.eclipse.jface.text.hyperlink.IHyperlink

    public class ModuleElementHyperlink
    extends Object
    implements org.eclipse.jface.text.hyperlink.IHyperlink
    • Field Detail

      • region

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

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

        public 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