public static class ToBeBuiltComputer.CompositeContribution extends java.lang.Object implements IToBeBuiltComputerContribution
Modifier | Constructor and Description |
---|---|
protected |
ToBeBuiltComputer.CompositeContribution(com.google.common.collect.ImmutableList<? extends IToBeBuiltComputerContribution> contributions) |
Modifier and Type | Method and Description |
---|---|
boolean |
isPossiblyHandled(org.eclipse.core.resources.IStorage storage)
Returns
true if the given storage is possibly process-able by the builder. |
boolean |
isRejected(org.eclipse.core.resources.IFolder folder)
Returns
true if the folder contains resources that are fully derived, e.g. |
void |
removeProject(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor)
Triggered by a clean build or for closed projects.
|
boolean |
removeStorage(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IStorage storage,
org.eclipse.core.runtime.IProgressMonitor monitor)
The storage was removed.
|
void |
updateProject(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor)
Triggered by a full build.
|
boolean |
updateStorage(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IStorage storage,
org.eclipse.core.runtime.IProgressMonitor monitor)
The storage was updated.
|
protected ToBeBuiltComputer.CompositeContribution(com.google.common.collect.ImmutableList<? extends IToBeBuiltComputerContribution> contributions)
public void removeProject(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
IToBeBuiltComputerContribution
removeProject
in interface IToBeBuiltComputerContribution
public void updateProject(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IToBeBuiltComputerContribution
updateProject
in interface IToBeBuiltComputerContribution
org.eclipse.core.runtime.CoreException
public boolean removeStorage(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IStorage storage, org.eclipse.core.runtime.IProgressMonitor monitor)
IToBeBuiltComputerContribution
removeStorage
in interface IToBeBuiltComputerContribution
true
if the storage was processed by the contribution.public boolean updateStorage(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IStorage storage, org.eclipse.core.runtime.IProgressMonitor monitor)
IToBeBuiltComputerContribution
updateStorage
in interface IToBeBuiltComputerContribution
true
if the storage was processed by the contribution.public boolean isPossiblyHandled(org.eclipse.core.resources.IStorage storage)
IToBeBuiltComputerContribution
true
if the given storage is possibly process-able by the builder.
That is, the storage type can be processed by this contribution.isPossiblyHandled
in interface IToBeBuiltComputerContribution
public boolean isRejected(org.eclipse.core.resources.IFolder folder)
IToBeBuiltComputerContribution
true
if the folder contains resources that are fully derived, e.g. they
should not be processed by the Xtext builder.isRejected
in interface IToBeBuiltComputerContribution