Package com.cosylab.vdct
Class DataSynchronizer
- java.lang.Object
-
- com.cosylab.vdct.DataSynchronizer
-
public class DataSynchronizer extends Object
DataSynchronizer
handles synchronization between loaded files and files on the file system. It checks for unsaved changes or file system changes and brings up the appropriate dialogs.- Author:
- ssah
-
-
Constructor Summary
Constructors Constructor Description DataSynchronizer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkFilesystemChanges(Object dsId)
boolean
confirmFileClose(Object dsId, boolean exit)
static DataSynchronizer
getInstance()
VDBTemplate
getTemplate(Object dsId, String templateId)
-
-
-
Method Detail
-
getInstance
public static DataSynchronizer getInstance()
- Returns:
- something
-
getTemplate
public VDBTemplate getTemplate(Object dsId, String templateId)
- Parameters:
dsId
- dsIdtemplateId
- templateId- Returns:
- something
-
confirmFileClose
public boolean confirmFileClose(Object dsId, boolean exit)
- Parameters:
dsId
- dsIdexit
- exit- Returns:
- something
-
checkFilesystemChanges
public void checkFilesystemChanges(Object dsId)
- Parameters:
dsId
- dsId
-
-