Class IvmlHyperlinkFactory

  • All Implemented Interfaces:
    IHyperlinkFactory<de.uni_hildesheim.sse.ivml.Project>

    public class IvmlHyperlinkFactory
    extends java.lang.Object
    implements IHyperlinkFactory<de.uni_hildesheim.sse.ivml.Project>
    A IVML hyperlink factory.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • IvmlHyperlinkFactory

        public IvmlHyperlinkFactory()
    • Method Detail

      • createHyperlink

        public org.eclipse.xtext.ui.editor.hyperlinking.AbstractHyperlink createHyperlink​(org.eclipse.xtext.nodemodel.ILeafNode parseTreeElement,
                                                                                          de.uni_hildesheim.sse.ivml.Project project)
        Description copied from interface: IHyperlinkFactory
        Creates an hyperlink instance for the given ILeafNode which enables the jump to the element's declaration the node represents. This is a user visible feature as this hyperlink is shown when the user holds CTRL and points to an element in an editor.
        Specified by:
        createHyperlink in interface IHyperlinkFactory<de.uni_hildesheim.sse.ivml.Project>
        Parameters:
        parseTreeElement - the ILeafNode of the parsed resource for which this hyperlink should be created
        project - the "project" the given node is located in
        Returns:
        the hyperlink