genre | Fields |
author | Florian Link |
package | MeVisLab/Standard |
definition | SettingsManager.def |
see also | MakeName, FieldIterator |
keywords | load, save, network |
The module SettingsManager loads/saves field values from/to a file or a settings string.
Set up the list of fields (Store Fields) to be managed (you may use drag&drop), and use Save/Load to save to / load from a file, or use Update/Restore to just save to / load from the Settings String, if you want to care about persistency in a different way.
Syntax in input text field:
Field1,
Field2,
...
Syntax in saved files:
Field1 = value1;
Field2 = value2;
...
The module offers a field separatorChar to set the separator character for the settings string.
Auto Load: Bool | separatorChar: String |
Auto restore: Bool | Settings String: String |
Filename: String | settingsLoaded: Trigger |
Load: Trigger | settingsNotFound: Trigger |
Postfix: String | Store Fields: String |
Restore: Trigger | Update: Trigger |
Restrict Load/Restore to specified fields: Bool | |
Save: Trigger |
Sets the list of fields to be stored.
Syntax is:
moduleName1.fieldName1,
moduleName1.fieldName2,
moduleName2.fieldName1
If checked, the loading/restoring is restricted to the specified fields. (This makes a difference if the settings string contains a different set of fields than the ones listed in Store Fields.)
If checked, the module automatically loads the settings file.
Sets an additional filename extension.
If pressed, the value list in Settings String is updated.
If pressed, the value list in Settings String is restored into the original fields.
If checked, the value list is automatically restored (whenever the Settings String changes).