Class PersistentClusteringBuilderState

java.lang.Object
org.eclipse.xtext.resource.impl.AbstractResourceDescriptionChangeEventSource
org.eclipse.xtext.builder.builderState.AbstractBuilderState
org.eclipse.xtext.builder.clustering.ClusteringBuilderState
com._1c.g5.modeling.xtext.builder.LightClusteringBuilderState
com._1c.g5.v8.dt.bm.internal.xtext.PersistentClusteringBuilderState
All Implemented Interfaces:
IBuilderStateResourceManagement, IResourceDescriptionDataProvider, org.eclipse.xtext.builder.builderState.IBuilderState, org.eclipse.xtext.resource.IResourceDescription.Event.Source, org.eclipse.xtext.resource.IResourceDescriptions, org.eclipse.xtext.resource.ISelectable

public class PersistentClusteringBuilderState extends LightClusteringBuilderState implements IResourceDescriptionDataProvider
Special implementation of LightClusteringBuilderState which contains PersistentResourceDescriptionsData for working with IResourceDescriptions.
  • Constructor Details

    • PersistentClusteringBuilderState

      public PersistentClusteringBuilderState()
      Constructor
  • Method Details

    • load

      public void load()
      Overrides:
      load in class LightClusteringBuilderState
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.eclipse.xtext.resource.ISelectable
      Overrides:
      isEmpty in class org.eclipse.xtext.builder.builderState.AbstractBuilderState
    • getResourceDescriptionsData

      public org.eclipse.xtext.resource.impl.ResourceDescriptionsData getResourceDescriptionsData()
      Description copied from interface: IResourceDescriptionDataProvider
      Gets actual ResourceDescriptionsData from project builder
      Specified by:
      getResourceDescriptionsData in interface IResourceDescriptionDataProvider
      Returns:
      actual ResourceDescriptionsData from project builder, never null
    • collectRoughBuildScope

      protected final void collectRoughBuildScope(org.eclipse.core.resources.IProject project, org.eclipse.xtext.resource.impl.ResourceDescriptionsData newData, Set<org.eclipse.emf.common.util.URI> result)
      Description copied from class: LightClusteringBuilderState
      Collects rough build scope. Rough means that it may contain URIs of the resources that do not require building.
      Overrides:
      collectRoughBuildScope in class LightClusteringBuilderState
      Parameters:
      project - The project that is being built. May be null.
      newData - The new resource descriptions. May not be null.
      result - The result set the URIs will be added to. May not be null.
    • setResourceDescriptionsData

      protected void setResourceDescriptionsData(org.eclipse.xtext.resource.impl.ResourceDescriptionsData newData)
      Overrides:
      setResourceDescriptionsData in class org.eclipse.xtext.builder.builderState.AbstractBuilderState
    • ensureLoaded

      protected void ensureLoaded()
      Overrides:
      ensureLoaded in class LightClusteringBuilderState