Interface ISlicedResourceDescriptions
- All Known Implementing Classes:
BmEmfIndexAwareResourceDescriptions,BmMultiEmfIndexAwareResourceDescriptions
public interface ISlicedResourceDescriptions
Special interface for expanding
IResourceDescriptions for working with index slices. See IIndexSlicePredicateService-
Method Summary
Modifier and TypeMethodDescriptionIterable<org.eclipse.xtext.resource.IEObjectDescription>getExportedObjects(org.eclipse.emf.ecore.EClass type, org.eclipse.xtext.naming.QualifiedName name, boolean ignoreCase, Collection<ISliceFilter> slices) Gets all elements which match the given qualified name and typeIterable<org.eclipse.xtext.resource.IEObjectDescription>getExportedObjectsByType(org.eclipse.emf.ecore.EClass type, Collection<ISliceFilter> slices) Gets all elements which match the given type for concrete index slices
-
Method Details
-
getExportedObjects
Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, org.eclipse.xtext.naming.QualifiedName name, boolean ignoreCase, Collection<ISliceFilter> slices) Gets all elements which match the given qualified name and type- Parameters:
type- needed elementEClass, can't benullname- needed element qualified name, can't benullignoreCase-trueif letter's register does not matter for matching,falseotherwiseslices- list of predicates corresponding to the index slices, can't benull- Returns:
- all elements which match the given qualified name and type. May not be
null.
-
getExportedObjectsByType
Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type, Collection<ISliceFilter> slices) Gets all elements which match the given type for concrete index slices- Parameters:
type-EClassof selectable items, can't benullslices- list of predicates corresponding to the index slices, can't benull- Returns:
- all elements which match the given type. May not be
null.
-