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
-
-
Field Summary
Fields Modifier and Type Field Description protected ThreadLocal<Boolean>
buildSemaphor
-
Constructor Summary
Constructors Constructor Description CustomBuilderParticipant()
-
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
-
-
-
-
Field Detail
-
buildSemaphor
protected ThreadLocal<Boolean> buildSemaphor
-
-
Method Detail
-
build
public void build(org.eclipse.xtext.builder.IXtextBuilderParticipant.IBuildContext context, IProgressMonitor monitor) throws CoreException
- Specified by:
build
in interfaceorg.eclipse.xtext.builder.IXtextBuilderParticipant
- Overrides:
build
in classorg.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 classorg.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 classorg.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)
-
-