Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • CustomBuilderParticipant

        public CustomBuilderParticipant()
    • Method Detail

      • 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)