Class ModuleSynchronizer
java.lang.Object
com.e1c.langtool.v8.dt.sync.AbstractExternalPropertySynchronizer
com.e1c.langtool.v8.dt.sync.ExternalPropertySynchronizer
com.e1c.langtool.v8.dt.internal.bsl.sync.ModuleSynchronizer
- All Implemented Interfaces:
ResourceSynchronizer
-
Field Summary
Fields inherited from class com.e1c.langtool.v8.dt.sync.ExternalPropertySynchronizer
externalPropertyManagerRegistry, modelManagerFields inherited from class com.e1c.langtool.v8.dt.sync.AbstractExternalPropertySynchronizer
emfObjectProvider, qualifiedNameConverter, qualifiedNameFilePathConverter, topObjectFqnGenerator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanManages the transaction execution mode for the synchronizer.getId()Gets the unique ID of the synchronizer.protected org.eclipse.core.runtime.IStatussynchronize(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) protected org.eclipse.core.runtime.IStatussynchronize(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) Methods inherited from class com.e1c.langtool.v8.dt.sync.ExternalPropertySynchronizer
getResourceSet, removeMethods inherited from class com.e1c.langtool.v8.dt.sync.AbstractExternalPropertySynchronizer
createParentFolders, synchronize
-
Constructor Details
-
ModuleSynchronizer
public ModuleSynchronizer()
-
-
Method Details
-
getId
Description copied from interface:ResourceSynchronizerGets 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:
synchronizein classExternalPropertySynchronizer
-
executeInTransaction
protected boolean executeInTransaction()Description copied from class:AbstractExternalPropertySynchronizerManages 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:
executeInTransactionin classAbstractExternalPropertySynchronizer- 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:
synchronizein classExternalPropertySynchronizer
-