org.eclipse.ocl.examples.xtext.essentialocl.services
Class EssentialOCLLinkingService
java.lang.Object
org.eclipse.xtext.linking.impl.AbstractLinkingService
org.eclipse.xtext.linking.impl.DefaultLinkingService
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
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)
|
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 |
EssentialOCLLinkingService
public EssentialOCLLinkingService()
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
public java.lang.String getText(org.eclipse.xtext.nodemodel.INode node)