Class XtextLinkingService

    • Constructor Detail

      • XtextLinkingService

        public XtextLinkingService()
    • Method Detail

      • setFileExtension

        @Inject
        public void setFileExtension​(java.lang.String fileExtension)
      • getLinkedObjects

        public java.util.List<org.eclipse.emf.ecore.EObject> getLinkedObjects​(org.eclipse.emf.ecore.EObject context,
                                                                              org.eclipse.emf.ecore.EReference ref,
                                                                              INode node)
                                                                       throws IllegalNodeException
        Description copied from interface: ILinkingService
        Returns all EObjects referenced by the given link text in the given context. But does not set the references or modifies the passed information somehow. The returned list might contain proxy instances.
        Specified by:
        getLinkedObjects in interface ILinkingService
        Overrides:
        getLinkedObjects in class DefaultLinkingService
        Returns:
        the first element returned from the injected IScopeProvider which matches the text of the passed node
        Throws:
        IllegalNodeException