Class NoActionSynchronizer

java.lang.Object
com.e1c.langtool.sync.NoActionSynchronizer
All Implemented Interfaces:
ResourceSynchronizer

public final class NoActionSynchronizer extends Object implements ResourceSynchronizer
The Class NoActionSynchronizer allows to do nothing with some types of files. Clients must add synchronizerExtension configuration to the extension point to define their file parameters to skip them while synchronizing projects.
See Also:
  • Field Details

  • Constructor Details

    • NoActionSynchronizer

      public NoActionSynchronizer()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: ResourceSynchronizer
      Gets the unique ID of the synchronizer.
      Specified by:
      getId in interface ResourceSynchronizer
      Returns:
      the ID of the synchronizer, cannot return null.
    • synchronize

      public Collection<org.eclipse.core.resources.IResource> synchronize(org.eclipse.core.resources.IFile sourceFile, ITranslatingProject sourceProject, ITranslatedProject target, SyncSession session, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: ResourceSynchronizer
      Synchronize given source file to target project with translating.
      Specified by:
      synchronize in interface ResourceSynchronizer
      Parameters:
      sourceFile - the source file
      sourceProject - the source project
      target - the target
      session - the session
      monitor - the monitor
      Returns:
      the collection of synchronized files in target project, cannot return null.