public class DefaultLinkingService extends AbstractLinkingService
Constructor and Description |
---|
DefaultLinkingService() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCrossRefNodeAsString(INode node) |
protected ImportedNamesAdapter |
getImportedNamesAdapter(org.eclipse.emf.ecore.EObject context) |
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
EObject s referenced by the given link text in the
given context. |
protected LinkingHelper |
getLinkingHelper() |
protected IScope |
getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScopeProvider |
getScopeProvider() |
protected void |
registerImportedNamesAdapter(org.eclipse.emf.ecore.EObject context) |
protected void |
registerImportedNamesAdapter(IScopeProvider scopeProvider,
org.eclipse.emf.ecore.EObject context) |
void |
setScopeProvider(IScopeProvider scopeProvider) |
protected void |
unRegisterImportedNamesAdapter() |
protected void |
unRegisterImportedNamesAdapter(IScopeProvider scopeProvider) |
protected IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
protected void unRegisterImportedNamesAdapter()
protected void unRegisterImportedNamesAdapter(IScopeProvider scopeProvider)
protected void registerImportedNamesAdapter(org.eclipse.emf.ecore.EObject context)
protected void registerImportedNamesAdapter(IScopeProvider scopeProvider, org.eclipse.emf.ecore.EObject context)
protected ImportedNamesAdapter getImportedNamesAdapter(org.eclipse.emf.ecore.EObject context)
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
ILinkingService
EObject
s 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.IScopeProvider
which matches the text of the passed
node
IllegalNodeException
public java.lang.String getCrossRefNodeAsString(INode node) throws IllegalNodeException
IllegalNodeException
public void setScopeProvider(IScopeProvider scopeProvider)
public IScopeProvider getScopeProvider()
protected LinkingHelper getLinkingHelper()