public class XtextLinkingService extends DefaultLinkingService
| Constructor and Description |
|---|
XtextLinkingService() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.eclipse.emf.ecore.EObject> |
getLinkedObjects(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference ref,
INode node)
Returns all
EObjects referenced by the given link text in the
given context. |
void |
setFileExtension(java.lang.String fileExtension) |
getCrossRefNodeAsString, getImportedNamesAdapter, getLinkingHelper, getScope, getScopeProvider, registerImportedNamesAdapter, registerImportedNamesAdapter, setScopeProvider, unRegisterImportedNamesAdapter, unRegisterImportedNamesAdapter@Inject public void setFileExtension(java.lang.String fileExtension)
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
ILinkingServiceEObjects 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.getLinkedObjects in interface ILinkingServicegetLinkedObjects in class DefaultLinkingServiceIScopeProvider which matches the text of the passed
nodeIllegalNodeException