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 void
deleteCustomization(CustomizeData custData)
Delete customizationjava.util.List<CustomizeData>
getSavedCustDatas()
Load and return saved customizationsCustomizeData
getUserDefaultCustData()
Return customization saved as defaultboolean
isCustomizationPersistAvailable()
Return true if this XViewer is allowed to save local/shared customizationsboolean
isCustomizationUserDefault(CustomizeData custData)
Return true if given customization is the defaultvoid
saveCustomization(CustomizeData custData)
Called to have customization savedvoid
setUserDefaultCustData(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
-