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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterWriteNewResourceDescriptions(org.eclipse.emf.ecore.resource.Resource resource)
    Additional processing resource as soon as new ResourceDescription will be created and registered in method com._1c.g5.modeling.xtext.builder.LightClusteringBuilderState#writeNewResourceDescriptions(BuildData, IResourceDescriptions, CurrentDescriptions, IProgressMonitor)}
    boolean
    isSupported(org.eclipse.emf.ecore.resource.Resource resource)
    Checks that this participant can process this type of resource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BslLightClusteringBuilderStateCallback

      public BslLightClusteringBuilderStateCallback()
  • Method Details

    • isSupported

      public boolean isSupported(org.eclipse.emf.ecore.resource.Resource resource)
      Description copied from interface: ILightClusteringBuilderStateCallback
      Checks that this participant can process this type of resource
      Specified by:
      isSupported in interface ILightClusteringBuilderStateCallback
      Parameters:
      resource - resource for checking availability of processing, can't be null
      Returns:
      true if this participant can process this type of resource, false otherwise
    • afterWriteNewResourceDescriptions

      public void afterWriteNewResourceDescriptions(org.eclipse.emf.ecore.resource.Resource resource)
      Description copied from interface: ILightClusteringBuilderStateCallback
      Additional processing resource as soon as new ResourceDescription will be created and registered in method com._1c.g5.modeling.xtext.builder.LightClusteringBuilderState#writeNewResourceDescriptions(BuildData, IResourceDescriptions, CurrentDescriptions, IProgressMonitor)}
      Specified by:
      afterWriteNewResourceDescriptions in interface ILightClusteringBuilderStateCallback
      Parameters:
      resource - processing resource, can't be null