org.eclipse.ocl.examples.xtext.essentialocl.services
Class EssentialOCLLinkingService

java.lang.Object
  extended by org.eclipse.xtext.linking.impl.AbstractLinkingService
      extended by org.eclipse.xtext.linking.impl.DefaultLinkingService
          extended by org.eclipse.ocl.examples.xtext.essentialocl.services.EssentialOCLLinkingService
All Implemented Interfaces:
org.eclipse.xtext.linking.ILinkingService

public class EssentialOCLLinkingService
extends org.eclipse.xtext.linking.impl.DefaultLinkingService


Nested Class Summary
static class EssentialOCLLinkingService.Ambiguities
           
 
Field Summary
static boolean DEBUG_RETRY
           
 
Constructor Summary
EssentialOCLLinkingService()
           
 
Method Summary
 java.util.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)
           
protected  org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
           
 java.lang.String getText(org.eclipse.xtext.nodemodel.INode node)
           
protected  java.util.List<org.eclipse.emf.ecore.EObject> lookUp(org.eclipse.xtext.scoping.IScope scope, org.eclipse.xtext.naming.QualifiedName qualifiedName)
           
 
Methods inherited from class org.eclipse.xtext.linking.impl.DefaultLinkingService
getCrossRefNodeAsString, getImportedNamesAdapter, getLinkingHelper, getScopeProvider, registerImportedNamesAdapter, registerImportedNamesAdapter, setScopeProvider, unRegisterImportedNamesAdapter, unRegisterImportedNamesAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_RETRY

public static boolean DEBUG_RETRY
Constructor Detail

EssentialOCLLinkingService

public EssentialOCLLinkingService()
Method Detail

getLinkedObjects

public java.util.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
Specified by:
getLinkedObjects in interface org.eclipse.xtext.linking.ILinkingService
Overrides:
getLinkedObjects in class org.eclipse.xtext.linking.impl.DefaultLinkingService
Throws:
org.eclipse.xtext.linking.impl.IllegalNodeException

getScope

protected org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context,
                                                    org.eclipse.emf.ecore.EReference reference)
Overrides:
getScope in class org.eclipse.xtext.linking.impl.DefaultLinkingService

getText

@Nullable
public java.lang.String getText(@Nullable
                                         org.eclipse.xtext.nodemodel.INode node)

lookUp

protected java.util.List<org.eclipse.emf.ecore.EObject> lookUp(@NonNull
                                                               org.eclipse.xtext.scoping.IScope scope,
                                                               org.eclipse.xtext.naming.QualifiedName qualifiedName)