Package org.eclipse.xtext.resource
Interface IDefaultResourceDescriptionStrategy
-
- All Known Implementing Classes:
DefaultResourceDescriptionStrategy,XtextResourceDescriptionStrategy
public interface IDefaultResourceDescriptionStrategyAllows easy way to customize of what is indexed, i.e. put into aDefaultReferenceDescription.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancreateEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<IEObjectDescription> acceptor)Calculates theIEObjectDescriptions foreObjectand passes them to the acceptor.booleancreateReferenceDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<IReferenceDescription> acceptor)Calculates theIReferenceDescriptions for external cross references fromeObjectand passes them to the acceptor.
-
-
-
Method Detail
-
createEObjectDescriptions
boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<IEObjectDescription> acceptor)Calculates theIEObjectDescriptions foreObjectand passes them to the acceptor.- Returns:
- true if the children of
eObjectshould be traversed.
-
createReferenceDescriptions
boolean createReferenceDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<IReferenceDescription> acceptor)Calculates theIReferenceDescriptions for external cross references fromeObjectand passes them to the acceptor.- Returns:
- true if the children of
eObjectshould be traversed.
-
-