Interface IXtextFakeContextResourcesProvider
- All Known Implementing Classes:
CloningBasedFakeContextResourcesProvider
public interface IXtextFakeContextResourcesProvider
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
populateFakeResourceSet
(ResourceSet fakeResourceSet, org.eclipse.xtext.resource.XtextResource fakeResource) Populate the fake resource set with additional resources that may be needed for scoping/linking.
-
Field Details
-
NULL_CONTEXT_PROVIDER
-
-
Method Details
-
populateFakeResourceSet
void populateFakeResourceSet(ResourceSet fakeResourceSet, org.eclipse.xtext.resource.XtextResource fakeResource) Populate the fake resource set with additional resources that may be needed for scoping/linking. The fake resource used will be passe in as context information. Note that at the time this callback is invoked, the fake resource will not be contained in the fake resource set, because that may cause problems when working with the resource set (as the fake resource does actually not exist in the file system).- Parameters:
fakeResourceSet
- theResourceSet
to populatefakeResource
- the fakeXtextResource
as context information.
-