Interface IXtextResourceCleanerService
-
- All Known Implementing Classes:
XtextResourceCleanerService
public interface IXtextResourceCleanerService
Interface 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 void
cleanUp(org.eclipse.emf.ecore.resource.Resource resource)
Clears data fromresource
.boolean
isClean(org.eclipse.emf.common.util.URI uri)
Checks that resource withuri
was 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 withuri
was cleaned- Parameters:
uri
- resourceURI
for checking, can't benull
- Returns:
true
if resource withuri
was cleanedfalse
otherwise
-
-