Package com._1c.g5.v8.dt.bsl.resource
Class BslLightClusteringBuilderStateCallback
java.lang.Object
com._1c.g5.v8.dt.bsl.resource.BslLightClusteringBuilderStateCallback
- All Implemented Interfaces:
ILightClusteringBuilderStateCallback
public class BslLightClusteringBuilderStateCallback
extends Object
implements ILightClusteringBuilderStateCallback
Special implemetation of
ILightClusteringBuilderStateCallback for saving BslContextDef in special file on the disk.
Hierarchy of creating files will be correspond to the hierarchy of bsl module file,
but will be contained in ".metadata/plugins/com._1c.g5.v8.dt.bsl"-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterWriteNewResourceDescriptions(org.eclipse.emf.ecore.resource.Resource resource) Additional processing resource as soon as newResourceDescriptionwill be created and registered in method com._1c.g5.modeling.xtext.builder.LightClusteringBuilderState#writeNewResourceDescriptions(BuildData, IResourceDescriptions, CurrentDescriptions, IProgressMonitor)}booleanisSupported(org.eclipse.emf.ecore.resource.Resource resource) Checks that this participant can process this type of resource
-
Constructor Details
-
BslLightClusteringBuilderStateCallback
public BslLightClusteringBuilderStateCallback()
-
-
Method Details
-
isSupported
public boolean isSupported(org.eclipse.emf.ecore.resource.Resource resource) Description copied from interface:ILightClusteringBuilderStateCallbackChecks that this participant can process this type of resource- Specified by:
isSupportedin interfaceILightClusteringBuilderStateCallback- Parameters:
resource- resource for checking availability of processing, can't benull- Returns:
trueif this participant can process this type of resource,falseotherwise
-
afterWriteNewResourceDescriptions
public void afterWriteNewResourceDescriptions(org.eclipse.emf.ecore.resource.Resource resource) Description copied from interface:ILightClusteringBuilderStateCallbackAdditional processing resource as soon as newResourceDescriptionwill be created and registered in method com._1c.g5.modeling.xtext.builder.LightClusteringBuilderState#writeNewResourceDescriptions(BuildData, IResourceDescriptions, CurrentDescriptions, IProgressMonitor)}- Specified by:
afterWriteNewResourceDescriptionsin interfaceILightClusteringBuilderStateCallback- Parameters:
resource- processing resource, can't benull
-