Interface IXViewerCustomizations
- All Known Implementing Classes:
FileStoreCustomizations,XViewerCustomizations
public interface IXViewerCustomizations
Methods to implement if this XViewer allows the user to save local/shared customizations
-
Method Summary
Modifier and Type Method Description voiddeleteCustomization(CustomizeData custData)Delete customizationjava.util.List<CustomizeData>getSavedCustDatas()Load and return saved customizationsCustomizeDatagetUserDefaultCustData()Return customization saved as defaultbooleanisCustomizationPersistAvailable()Return true if this XViewer is allowed to save local/shared customizationsbooleanisCustomizationUserDefault(CustomizeData custData)Return true if given customization is the defaultvoidsaveCustomization(CustomizeData custData)Called to have customization savedvoidsetUserDefaultCustData(CustomizeData newCustData, boolean set)Set given customization as the user default
-
Method Details
-
saveCustomization
Called to have customization saved- Throws:
java.lang.Exception
-
getSavedCustDatas
Load and return saved customizations- Throws:
java.lang.Exception
-
getUserDefaultCustData
Return customization saved as default- Throws:
XViewerException
-
isCustomizationUserDefault
Return true if given customization is the default- Returns:
- true if default
- Throws:
XViewerException
-
setUserDefaultCustData
Set given customization as the user default- Throws:
java.lang.Exception
-
deleteCustomization
Delete customization- Throws:
java.lang.Exception
-
isCustomizationPersistAvailable
boolean isCustomizationPersistAvailable()Return true if this XViewer is allowed to save local/shared customizations
-