Class QlLinkingService

java.lang.Object
org.eclipse.xtext.linking.impl.AbstractLinkingService
com._1c.g5.v8.dt.ql.linking.QlLinkingService
All Implemented Interfaces:
org.eclipse.xtext.linking.ILinkingService

public class QlLinkingService extends org.eclipse.xtext.linking.impl.AbstractLinkingService
Special DefaultLinkingService without register importing names adapter
  • Constructor Details

    • QlLinkingService

      public QlLinkingService()
  • Method Details

    • getLinkedObjects

      public List<org.eclipse.emf.ecore.EObject> getLinkedObjects(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference ref, org.eclipse.xtext.nodemodel.INode node) throws org.eclipse.xtext.linking.impl.IllegalNodeException
      Returns:
      the first element returned from the injected IScopeProvider which matches the text of the passed node
      Throws:
      org.eclipse.xtext.linking.impl.IllegalNodeException
    • getCrossRefNodeAsString

      public String getCrossRefNodeAsString(org.eclipse.xtext.nodemodel.INode node) throws org.eclipse.xtext.linking.impl.IllegalNodeException
      Throws:
      org.eclipse.xtext.linking.impl.IllegalNodeException
    • setScopeProvider

      public void setScopeProvider(org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
    • getScopeProvider

      public org.eclipse.xtext.scoping.IScopeProvider getScopeProvider()
    • getLinkingHelper

      protected org.eclipse.xtext.linking.impl.LinkingHelper getLinkingHelper()
    • getScope

      protected org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
      Gets the scope for a given object
      Parameters:
      context - The context object. Cannot be null
      reference - The target reference, cannot be null
      Returns:
    • unRegisterImportedNamesAdapter

      protected void unRegisterImportedNamesAdapter()
    • unRegisterImportedNamesAdapter

      protected void unRegisterImportedNamesAdapter(org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
    • registerImportedNamesAdapter

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

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

      protected org.eclipse.xtext.linking.impl.ImportedNamesAdapter getImportedNamesAdapter(org.eclipse.emf.ecore.EObject context)