Class QlHyperlinkHelper

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkHelper

    public class QlHyperlinkHelper
    extends org.eclipse.xtext.ui.editor.hyperlinking.HyperlinkHelper
    Implementation of IHyperlinkHelper for Ql.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.hyperlinking.HyperlinkHelper

        org.eclipse.xtext.ui.editor.hyperlinking.HyperlinkHelper.HyperlinkAcceptor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createHyperlinksByOffset​(org.eclipse.xtext.resource.XtextResource resource, int offset, org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkAcceptor acceptor)
      Creates link for object in position offset
      void createHyperlinksTo​(org.eclipse.xtext.resource.XtextResource from, org.eclipse.jface.text.Region region, org.eclipse.emf.ecore.EObject objectTo, org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkAcceptor acceptor)
      –°reates a link for objectTo from location determined by region
      • Methods inherited from class org.eclipse.xtext.ui.editor.hyperlinking.HyperlinkHelper

        createHyperlinksByOffset, createHyperlinksTo, getEObjectAtOffsetHelper, getHyperlinkProvider, getLabelProvider, getParentNodeWithCrossReference
    • Constructor Detail

      • QlHyperlinkHelper

        public QlHyperlinkHelper()
    • Method Detail

      • createHyperlinksByOffset

        public void createHyperlinksByOffset​(org.eclipse.xtext.resource.XtextResource resource,
                                             int offset,
                                             org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkAcceptor acceptor)
        Creates link for object in position offset
        Overrides:
        createHyperlinksByOffset in class org.eclipse.xtext.ui.editor.hyperlinking.HyperlinkHelper
      • createHyperlinksTo

        public void createHyperlinksTo​(org.eclipse.xtext.resource.XtextResource from,
                                       org.eclipse.jface.text.Region region,
                                       org.eclipse.emf.ecore.EObject objectTo,
                                       org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkAcceptor acceptor)
        –°reates a link for objectTo from location determined by region
        Overrides:
        createHyperlinksTo in class org.eclipse.xtext.ui.editor.hyperlinking.HyperlinkHelper