org.eclipse.xtext.builder.impl
Class RegistryBuilderParticipant

java.lang.Object
  extended by org.eclipse.xtext.builder.impl.RegistryBuilderParticipant
All Implemented Interfaces:
IXtextBuilderParticipant

public class RegistryBuilderParticipant
extends java.lang.Object
implements IXtextBuilderParticipant

Author:
Sebastian Zarnekow - Initial contribution and API, Jan Koehnlein

Nested Class Summary
 class RegistryBuilderParticipant.BuilderParticipantReader
           
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.builder.IXtextBuilderParticipant
IXtextBuilderParticipant.BuildType, IXtextBuilderParticipant.IBuildContext
 
Constructor Summary
RegistryBuilderParticipant()
           
 
Method Summary
 void build(IXtextBuilderParticipant.IBuildContext buildContext, org.eclipse.core.runtime.IProgressMonitor monitor)
          Allows clients to perform additional steps in the build process such as code generation.
 com.google.common.collect.ImmutableList<IXtextBuilderParticipant> getParticipants()
           
protected  com.google.common.collect.ImmutableList<IXtextBuilderParticipant> initParticipants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryBuilderParticipant

public RegistryBuilderParticipant()
Method Detail

build

public void build(IXtextBuilderParticipant.IBuildContext buildContext,
                  org.eclipse.core.runtime.IProgressMonitor monitor)
           throws org.eclipse.core.runtime.CoreException
Description copied from interface: IXtextBuilderParticipant
Allows clients to perform additional steps in the build process such as code generation. It is not expected that any object in the resource set will be modified by a builder participant.

Specified by:
build in interface IXtextBuilderParticipant
monitor - the progress monitor to use for reporting progress to the user. It is the caller's responsibility to call done() on the given monitor. Accepts null, indicating that no progress should be reported and that the operation cannot be cancelled.
Throws:
org.eclipse.core.runtime.CoreException

getParticipants

public com.google.common.collect.ImmutableList<IXtextBuilderParticipant> getParticipants()

initParticipants

protected com.google.common.collect.ImmutableList<IXtextBuilderParticipant> initParticipants()