Class CustomBuilderParticipant

java.lang.Object
org.eclipse.xtext.builder.BuilderParticipant
org.palladiosimulator.textual.commons.generator.eclipse.CustomBuilderParticipant
All Implemented Interfaces:
org.eclipse.xtext.builder.IXtextBuilderParticipant

public class CustomBuilderParticipant extends org.eclipse.xtext.builder.BuilderParticipant
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.xtext.builder.IXtextBuilderParticipant

    org.eclipse.xtext.builder.IXtextBuilderParticipant.BuildType, org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ThreadLocal<Boolean>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    build(org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, IProgressMonitor monitor)
     
    protected void
    handleChangedContents(org.eclipse.xtext.resource.IResourceDescription.Delta delta, org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, org.eclipse.xtext.builder.EclipseResourceFileSystemAccess2 fileSystemAccess)
     
    void
    handleChangedContents(org.eclipse.xtext.resource.IResourceDescription.Delta delta, org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, org.eclipse.xtext.generator.IFileSystemAccess fileSystemAccess)
     
    org.eclipse.xtext.resource.IResourceDescription.Delta
    invokeGenerator(org.eclipse.xtext.resource.IResourceDescription.Delta delta, org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, org.eclipse.xtext.generator.IFileSystemAccess fileSystemAccess)
     

    Methods inherited from class org.eclipse.xtext.builder.BuilderParticipant

    addMarkerAndLogError, buildGeneratorMarkersReverseLookupMap, canClean, cleanDerivedResources, cleanOutput, cleanOutput, clearResourceSet, doBuild, doGenerate, getBuilderPreferenceAccess, getCurrentSourceFolder, getDerivedResourceMarkers, getDerivedResources, getGenerator, getGenerator2, getGeneratorIdProvider, getGeneratorMarkers, getOutputConfigurationProvider, getOutputConfigurations, getOutputs, getPostProcessor, getRelevantDeltas, getResourceServiceProvider, getStorage2UriMapper, isEnabled, refreshOutputFolders, registerCurrentSourceFolder, saveResourceStorage, setBuilderPreferenceAccess, setOutputConfigurationProvider, shouldGenerate

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • CustomBuilderParticipant

      public CustomBuilderParticipant()
  • Method Details

    • build

      public void build(org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, IProgressMonitor monitor) throws CoreException
      Specified by:
      build in interface org.eclipse.xtext.builder.IXtextBuilderParticipant
      Overrides:
      build in class org.eclipse.xtext.builder.BuilderParticipant
      Throws:
      CoreException
    • handleChangedContents

      public void handleChangedContents(org.eclipse.xtext.resource.IResourceDescription.Delta delta, org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, org.eclipse.xtext.generator.IFileSystemAccess fileSystemAccess)
      Overrides:
      handleChangedContents in class org.eclipse.xtext.builder.BuilderParticipant
    • handleChangedContents

      protected void handleChangedContents(org.eclipse.xtext.resource.IResourceDescription.Delta delta, org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, org.eclipse.xtext.builder.EclipseResourceFileSystemAccess2 fileSystemAccess) throws CoreException
      Overrides:
      handleChangedContents in class org.eclipse.xtext.builder.BuilderParticipant
      Throws:
      CoreException
    • invokeGenerator

      public org.eclipse.xtext.resource.IResourceDescription.Delta invokeGenerator(org.eclipse.xtext.resource.IResourceDescription.Delta delta, org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, org.eclipse.xtext.generator.IFileSystemAccess fileSystemAccess)