Class FileStoreCustomizations

java.lang.Object
org.eclipse.nebula.widgets.xviewer.customize.FileStoreCustomizations
All Implemented Interfaces:
IXViewerCustomizations

public class FileStoreCustomizations
extends java.lang.Object
implements IXViewerCustomizations
  • Constructor Summary

    Constructors 
    Constructor Description
    FileStoreCustomizations​(java.io.File pathToCustomizations, java.lang.String fileNamePrefix, java.lang.String fileNamePostfix, java.lang.String defaultCustomizationFileName, java.lang.String defaultCustomDataXml)  
  • Method Summary

    Modifier and Type Method Description
    void deleteCustomization​(org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData custData)
    Delete customization
    java.util.List<org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData> getSavedCustDatas()
    Load and return saved customizations
    org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData getUserDefaultCustData()
    Return customization saved as default
    boolean isCustomizationPersistAvailable()
    Return true if this XViewer is allowed to save local/shared customizations
    boolean isCustomizationUserDefault​(org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData custData)
    Return true if given customization is the default
    void saveCustomization​(org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData custData)
    Called to have customization saved
    void setUserDefaultCustData​(org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData newCustData, boolean set)
    Set given customization as the user default

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait