Package com.e1c.langtool.sync
Class NoActionSynchronizer
java.lang.Object
com.e1c.langtool.sync.NoActionSynchronizer
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the unique ID of the synchronizer.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) Synchronize given source file to target project with translating.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.langtool.sync.ResourceSynchronizer
remove
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
NoActionSynchronizer
public NoActionSynchronizer()
-
-
Method Details
-
getId
Description copied from interface:ResourceSynchronizerGets the unique ID of the synchronizer.- Specified by:
getIdin interfaceResourceSynchronizer- 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:ResourceSynchronizerSynchronize given source file to target project with translating.- Specified by:
synchronizein interfaceResourceSynchronizer- Parameters:
sourceFile- the source filesourceProject- the source projecttarget- the targetsession- the sessionmonitor- the monitor- Returns:
- the collection of synchronized files in target project, cannot return
null.
-