Class ModuleSynchronizer

All Implemented Interfaces:
ResourceSynchronizer

public class ModuleSynchronizer extends ExternalPropertySynchronizer
  • Constructor Details

    • ModuleSynchronizer

      public ModuleSynchronizer()
  • Method Details

    • getId

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

      protected org.eclipse.core.runtime.IStatus synchronize(org.eclipse.core.resources.IFile sourceFile, org.eclipse.emf.ecore.EObject owner, org.eclipse.core.resources.IProject target, org.eclipse.core.resources.IFile targetFile, BmSyncSession bmSession, IProjectTranslationProvider translationProvider, org.eclipse.core.runtime.IProgressMonitor monitor)
      Overrides:
      synchronize in class ExternalPropertySynchronizer
    • executeInTransaction

      protected boolean executeInTransaction()
      Description copied from class: AbstractExternalPropertySynchronizer
      Manages the transaction execution mode for the synchronizer. In case if the option is enabled the synchronization process is being executed in a single source configuration transaction. In case if the mode is disabled it's up to internal logic of the synchronization process to manage source configuration transactions
      Overrides:
      executeInTransaction in class AbstractExternalPropertySynchronizer
      Returns:
      True in case if the mode is enabled. False otherwise
    • synchronize

      protected org.eclipse.core.runtime.IStatus synchronize(org.eclipse.core.resources.IFile sourceFile, BmOperationContext typeComputationContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EReference property, org.eclipse.core.resources.IProject target, org.eclipse.core.resources.IFile targetFile, BmSyncSession bmSession, IProjectTranslationProvider translationProvider, org.eclipse.core.runtime.IProgressMonitor monitor)
      Specified by:
      synchronize in class ExternalPropertySynchronizer