Package com.e1c.langtool.sync
Interface SyncCache
- All Known Subinterfaces:
SyncCacheEditor
- All Known Implementing Classes:
InMemorySyncCacheEditor
public interface SyncCache
The Interface Synchronization cache whitch allows by source file full path to get synchronized files
(project relative path) in translated project.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCollection<org.eclipse.core.runtime.IPath>Gets all synchronized resources.Gets the translated project.Collection<org.eclipse.core.runtime.IPath>getSynchronizedResources(org.eclipse.core.runtime.IPath fullSourcePath) Gets the synchronized resources.Collection<org.eclipse.core.runtime.IPath>getSynchronizedResources(org.eclipse.core.runtime.IPath fullSourcePath, String synchronizerId) Gets the synchronized resources.
-
Method Details
-
getProject
ITranslatedProject getProject()Gets the translated project.- Returns:
- the project, cannot return
null.
-
getSynchronizedResources
Collection<org.eclipse.core.runtime.IPath> getSynchronizedResources(org.eclipse.core.runtime.IPath fullSourcePath) Gets the synchronized resources.- Parameters:
fullSourcePath- the full source path, cannot benull.- Returns:
- the synchronized project relative file path in translated project, cannot return
null.
-
getSynchronizedResources
Collection<org.eclipse.core.runtime.IPath> getSynchronizedResources(org.eclipse.core.runtime.IPath fullSourcePath, String synchronizerId) Gets the synchronized resources.- Parameters:
fullSourcePath- the full source path, cannot benull.synchronizerId- the synchronizer id, cannot benull.- Returns:
- the synchronized project relative file path in translated project, cannot return
null.
-
allSynchronizedResources
Collection<org.eclipse.core.runtime.IPath> allSynchronizedResources()Gets all synchronized resources.- Returns:
- the collection of synchronized project relative file paths in translated project,
cannot return
null.
-