Package com.e1c.langtool.builder
Class TranslationBuilder
java.lang.Object
org.eclipse.core.internal.events.InternalBuilder
org.eclipse.core.resources.IncrementalProjectBuilder
com.e1c.langtool.builder.TranslationBuilder
- All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension
- Direct Known Subclasses:
DependentTranslationBuilder
public class TranslationBuilder
extends org.eclipse.core.resources.IncrementalProjectBuilder
Builder to collect the set of changed resources and pass it
to the
IBuiltResourceQueue for processing them.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe id of this translation builder.protected ITranslatingProjectManagerFields inherited from class org.eclipse.core.resources.IncrementalProjectBuilder
AUTO_BUILD, CLEAN_BUILD, FULL_BUILD, INCREMENTAL_BUILD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.core.resources.IProject[]protected voidclean(org.eclipse.core.runtime.IProgressMonitor monitor) protected voidfullBuild(org.eclipse.core.runtime.IProgressMonitor monitor) protected ITranslatingProjectprotected voidincrementalBuild(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.runtime.IProgressMonitor monitor) protected booleanprocessResource(org.eclipse.core.resources.IResource resource, ActionType actionType, org.eclipse.core.runtime.IProgressMonitor monitor) Methods inherited from class org.eclipse.core.resources.IncrementalProjectBuilder
forgetLastBuiltState, getBuildConfig, getCommand, getContext, getDelta, getProject, getRule, hasBeenBuilt, isInterrupted, needRebuild, rememberLastBuiltState, requestProjectRebuild, requestProjectsRebuild, setInitializationData, startupOnInitialize
-
Field Details
-
BUILDER_ID
The id of this translation builder. It can be used to register/deregister this builder for projects.- See Also:
-
IProject.getDescription()IProjectDescription.getBuildSpec()- Constant Field Values
-
translatingProjectManager
-
-
Constructor Details
-
TranslationBuilder
public TranslationBuilder()
-
-
Method Details
-
getTranslatingProject
-
build
protected org.eclipse.core.resources.IProject[] build(int kind, Map<String, String> args, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException- Specified by:
buildin classorg.eclipse.core.resources.IncrementalProjectBuilder- Throws:
org.eclipse.core.runtime.CoreException
-
clean
protected void clean(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Overrides:
cleanin classorg.eclipse.core.resources.IncrementalProjectBuilder- Throws:
org.eclipse.core.runtime.CoreException
-
fullBuild
protected void fullBuild(org.eclipse.core.runtime.IProgressMonitor monitor) -
incrementalBuild
protected void incrementalBuild(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.runtime.IProgressMonitor monitor) -
processResource
protected boolean processResource(org.eclipse.core.resources.IResource resource, ActionType actionType, org.eclipse.core.runtime.IProgressMonitor monitor)
-