Class CustomXtextBuilder

java.lang.Object
org.eclipse.core.internal.events.InternalBuilder
org.eclipse.core.resources.IncrementalProjectBuilder
org.eclipse.xtext.builder.impl.XtextBuilder
com._1c.g5.v8.dt.bm.xtext.CustomXtextBuilder
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension

public class CustomXtextBuilder extends org.eclipse.xtext.builder.impl.XtextBuilder
Customized Xtext builder. Skips building for DT files, but doesn't skip update task markers
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.xtext.builder.impl.XtextBuilder

    org.eclipse.xtext.builder.impl.XtextBuilder.BuilderPreferences, org.eclipse.xtext.builder.impl.XtextBuilder.SchedulingOption
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final CaseInsensitiveString
     
    protected static final Set<CaseInsensitiveString>
     
    protected static final Set<CaseInsensitiveString>
     
    protected static final CaseInsensitiveString
     

    Fields inherited from class org.eclipse.xtext.builder.impl.XtextBuilder

    BUILDER_ID

    Fields inherited from class org.eclipse.core.resources.IncrementalProjectBuilder

    AUTO_BUILD, CLEAN_BUILD, FULL_BUILD, INCREMENTAL_BUILD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.eclipse.core.resources.IProject[]
    build(int kind, Map args, org.eclipse.core.runtime.IProgressMonitor monitor)
     
    protected void
    Cancels all Job implements IXtextParticipantJob and linked with currrent project
    protected void
    clean(org.eclipse.core.runtime.IProgressMonitor monitor)
     
    protected void
    doBuild(org.eclipse.xtext.builder.impl.ToBeBuilt toBeBuilt, Set<String> removedProjects, org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.xtext.builder.IXtextBuilderParticipant.BuildType type)
     
    protected void
    fullBuild(org.eclipse.core.runtime.IProgressMonitor monitor, boolean isRecoveryBuild)
     
    org.eclipse.core.runtime.jobs.ISchedulingRule
    getRule(int kind, Map<String,String> args)
     
    protected void
    incrementalBuild(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.runtime.IProgressMonitor monitor)
     
    protected boolean
    Checks that bm derived state was build

    Methods inherited from class org.eclipse.xtext.builder.impl.XtextBuilder

    addInfosFromTask, addInfosFromTaskAndBuild, addInfosFromTaskAndClean, createDeltaVisitor, doBuild, doClean, doClean, ensureBuilderStateLoaded, getInternalInterestingProjects, getReferencedProjects, getResourceSetProvider, getToBeBuiltComputer, isDoBuildSpecialized, isDoCleanSpecialized, isOpened, pollQueuedBuildData, pollQueuedBuildData, requestFullBuild, triggerRequestProjectRebuild, triggerRequestProjectsRebuild, unsetWasFullBuildRequested, wasFullBuildRequested

    Methods inherited from class org.eclipse.core.resources.IncrementalProjectBuilder

    forgetLastBuiltState, getBuildConfig, getCommand, getContext, getDelta, getProject, hasBeenBuilt, isInterrupted, needRebuild, rememberLastBuiltState, requestProjectRebuild, requestProjectsRebuild, setInitializationData, startupOnInitialize

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • getRule

      public org.eclipse.core.runtime.jobs.ISchedulingRule getRule(int kind, Map<String,String> args)
      Overrides:
      getRule in class org.eclipse.xtext.builder.impl.XtextBuilder
    • build

      protected org.eclipse.core.resources.IProject[] build(int kind, Map args, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Overrides:
      build in class org.eclipse.xtext.builder.impl.XtextBuilder
      Throws:
      org.eclipse.core.runtime.CoreException
    • incrementalBuild

      protected void incrementalBuild(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Overrides:
      incrementalBuild in class org.eclipse.xtext.builder.impl.XtextBuilder
      Throws:
      org.eclipse.core.runtime.CoreException
    • doBuild

      protected void doBuild(org.eclipse.xtext.builder.impl.ToBeBuilt toBeBuilt, Set<String> removedProjects, org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.xtext.builder.IXtextBuilderParticipant.BuildType type) throws org.eclipse.core.runtime.CoreException
      Overrides:
      doBuild in class org.eclipse.xtext.builder.impl.XtextBuilder
      Throws:
      org.eclipse.core.runtime.CoreException
    • fullBuild

      protected void fullBuild(org.eclipse.core.runtime.IProgressMonitor monitor, boolean isRecoveryBuild) throws org.eclipse.core.runtime.CoreException
      Overrides:
      fullBuild in class org.eclipse.xtext.builder.impl.XtextBuilder
      Throws:
      org.eclipse.core.runtime.CoreException
    • clean

      protected void clean(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Overrides:
      clean in class org.eclipse.xtext.builder.impl.XtextBuilder
      Throws:
      org.eclipse.core.runtime.CoreException
    • cancelXtextParticipantJobs

      protected void cancelXtextParticipantJobs()
      Cancels all Job implements IXtextParticipantJob and linked with currrent project
    • isBmDerivedStateBuild

      protected boolean isBmDerivedStateBuild()
      Checks that bm derived state was build
      Returns:
      true if derived state was built, false otherwise