Package org.eclipse.xtext.resource
Interface IDefaultResourceDescriptionStrategy
-
- All Known Implementing Classes:
DefaultResourceDescriptionStrategy
,XtextResourceDescriptionStrategy
public interface IDefaultResourceDescriptionStrategy
Allows 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 boolean
createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<IEObjectDescription> acceptor)
Calculates theIEObjectDescription
s foreObject
and passes them to the acceptor.boolean
createReferenceDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<IReferenceDescription> acceptor)
Calculates theIReferenceDescription
s for external cross references fromeObject
and passes them to the acceptor.
-
-
-
Method Detail
-
createEObjectDescriptions
boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<IEObjectDescription> acceptor)
Calculates theIEObjectDescription
s foreObject
and passes them to the acceptor.- Returns:
- true if the children of
eObject
should 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 theIReferenceDescription
s for external cross references fromeObject
and passes them to the acceptor.- Returns:
- true if the children of
eObject
should be traversed.
-
-