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 Details

    • BUILDER_ID

      public static final String BUILDER_ID
      The id of this synchronization builder. It can be used to register/deregister this builder for projects.
      See Also:
    • projectManager

      @Inject protected ITranslatingProjectManager 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:
      build in class org.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:
      clean in class org.eclipse.core.resources.IncrementalProjectBuilder
      Throws:
      org.eclipse.core.runtime.CoreException
    • isValidProject

      protected boolean isValidProject()
    • getTranslatingProject

      protected ITranslatingProject 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

      protected final SourceChangeManager getSourceChangeManager()
    • getProjectManager

      protected ITranslatingProjectManager getProjectManager()
      Returns:
      the projectManager
    • getService

      protected SynchronizationService getService()
      Returns:
      the service
    • getRegistry

      protected SynchronizerRegistry getRegistry()