Class DefaultLinkingService

    • Constructor Detail

      • DefaultLinkingService

        public DefaultLinkingService()
    • Method Detail

      • getScope

        protected IScope getScope​(org.eclipse.emf.ecore.EObject context,
                                  org.eclipse.emf.ecore.EReference reference)
      • unRegisterImportedNamesAdapter

        protected void unRegisterImportedNamesAdapter()
      • unRegisterImportedNamesAdapter

        protected void unRegisterImportedNamesAdapter​(IScopeProvider scopeProvider)
      • registerImportedNamesAdapter

        protected void registerImportedNamesAdapter​(org.eclipse.emf.ecore.EObject context)
      • registerImportedNamesAdapter

        protected void registerImportedNamesAdapter​(IScopeProvider scopeProvider,
                                                    org.eclipse.emf.ecore.EObject context)
      • getImportedNamesAdapter

        protected ImportedNamesAdapter getImportedNamesAdapter​(org.eclipse.emf.ecore.EObject context)
      • 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.
        Returns:
        the first element returned from the injected IScopeProvider which matches the text of the passed node
        Throws:
        IllegalNodeException
      • setScopeProvider

        public void setScopeProvider​(IScopeProvider scopeProvider)