public class XtextBuilder
extends org.eclipse.core.resources.IncrementalProjectBuilder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUILDER_ID |
Constructor and Description |
---|
XtextBuilder() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.core.resources.IProject[] |
build(int kind,
java.util.Map args,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
clean(org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
doBuild(ToBeBuilt toBeBuilt,
org.eclipse.core.runtime.IProgressMonitor monitor,
IXtextBuilderParticipant.BuildType type) |
protected void |
doClean(ToBeBuilt toBeBuilt,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
fullBuild(org.eclipse.core.runtime.IProgressMonitor monitor,
boolean isRecoveryBuild) |
IResourceSetProvider |
getResourceSetProvider() |
protected void |
incrementalBuild(org.eclipse.core.resources.IResourceDelta delta,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected boolean |
isOpened(org.eclipse.core.resources.IResourceDelta delta) |
public static final java.lang.String BUILDER_ID
public IResourceSetProvider getResourceSetProvider()
protected org.eclipse.core.resources.IProject[] build(int kind, java.util.Map args, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
build
in class org.eclipse.core.resources.IncrementalProjectBuilder
org.eclipse.core.runtime.CoreException
protected void incrementalBuild(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
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.org.eclipse.core.runtime.CoreException
protected void doBuild(ToBeBuilt toBeBuilt, org.eclipse.core.runtime.IProgressMonitor monitor, IXtextBuilderParticipant.BuildType type) throws org.eclipse.core.runtime.CoreException
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.org.eclipse.core.runtime.CoreException
protected void fullBuild(org.eclipse.core.runtime.IProgressMonitor monitor, boolean isRecoveryBuild) throws org.eclipse.core.runtime.CoreException
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.org.eclipse.core.runtime.CoreException
protected boolean isOpened(org.eclipse.core.resources.IResourceDelta delta)
protected void clean(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
clean
in class org.eclipse.core.resources.IncrementalProjectBuilder
monitor
- the progress monitor to use for reporting progress to the user. It is the implementors responsibility
to call done() on the given monitor. Accepts null, indicating that no progress should be
reported and that the operation cannot be cancelled.org.eclipse.core.runtime.CoreException
protected void doClean(ToBeBuilt toBeBuilt, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
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.org.eclipse.core.runtime.CoreException