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)
IToBeBuiltComputerContributionremoveProject in interface IToBeBuiltComputerContributionpublic void updateProject(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IToBeBuiltComputerContributionupdateProject in interface IToBeBuiltComputerContributionorg.eclipse.core.runtime.CoreExceptionpublic boolean removeStorage(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IStorage storage, org.eclipse.core.runtime.IProgressMonitor monitor)
IToBeBuiltComputerContributionremoveStorage in interface IToBeBuiltComputerContributiontrue 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)
IToBeBuiltComputerContributionupdateStorage in interface IToBeBuiltComputerContributiontrue if the storage was processed by the contribution.public boolean isPossiblyHandled(org.eclipse.core.resources.IStorage storage)
IToBeBuiltComputerContributiontrue 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 IToBeBuiltComputerContributionpublic boolean isRejected(org.eclipse.core.resources.IFolder folder)
IToBeBuiltComputerContributiontrue if the folder contains resources that are fully derived, e.g. they
should not be processed by the Xtext builder.isRejected in interface IToBeBuiltComputerContribution