Interface IXtextResourceCleanerService
-
- All Known Implementing Classes:
XtextResourceCleanerService
public interface IXtextResourceCleanerServiceInterface for mechanism of clearing resource in xtext builder. Also supporting clearing all resources in project.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanUp(org.eclipse.emf.ecore.resource.Resource resource)Clears data fromresource.booleanisClean(org.eclipse.emf.common.util.URI uri)Checks that resource withuriwas cleaned
-
-
-
Method Detail
-
cleanUp
void cleanUp(org.eclipse.emf.ecore.resource.Resource resource)
Clears data fromresource. The logic of clearing resource data is defined by extension points "com._1c.g5.modeling.xtext.xtextResourceCleaner" for each type of resource- Parameters:
resource- clearingResource, can't benull
-
isClean
boolean isClean(org.eclipse.emf.common.util.URI uri)
Checks that resource withuriwas cleaned- Parameters:
uri- resourceURIfor checking, can't benull- Returns:
trueif resource withuriwas cleanedfalseotherwise
-
-