Package com.e1c.langtool.sync
Class SynchronizationBuilder
java.lang.Object
org.eclipse.core.internal.events.InternalBuilder
org.eclipse.core.resources.IncrementalProjectBuilder
com.e1c.langtool.sync.SynchronizationBuilder
- All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension
- Direct Known Subclasses:
DependentSynchronizationBuilder
public class SynchronizationBuilder
extends org.eclipse.core.resources.IncrementalProjectBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe id of this synchronization 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 ITranslatingProjectManagerprotected SynchronizerRegistryprotected SynchronizationServiceprotected final SourceChangeManagerprotected ITranslatingProjectprotected voidincrementalBuild(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.runtime.IProgressMonitor monitor) protected booleanMethods 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 synchronization builder. It can be used to register/deregister this builder for projects.- See Also:
-
IProject.getDescription()IProjectDescription.getBuildSpec()- Constant Field Values
-
projectManager
-
-
Constructor Details
-
SynchronizationBuilder
public SynchronizationBuilder()
-
-
Method Details
-
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
-
isValidProject
protected boolean isValidProject() -
getTranslatingProject
-
fullBuild
protected void fullBuild(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
incrementalBuild
protected void incrementalBuild(org.eclipse.core.resources.IResourceDelta delta, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
getSourceChangeManager
-
getProjectManager
- Returns:
- the projectManager
-
getService
- Returns:
- the service
-
getRegistry
-