Loading Configuration Data
When you select the Path to Layout files, the Path to config files is updated automatically. When you save the first configuration for a layout the project the JsonLayoutsCfg directory will be created and the configuration file stored in there. You are offered the opportunity to change the filename, but do not change the directory as the files will not be found.
The combobox will be populated with all of the JsonLayouts files in the project JsonLayouts directory. You can select one of those and click Load. If you have previously opened a file, you can select it from the recent files list.
If you have previously saved a configuration file for the selected JsonLayout file, you will be prompted to choose the configuration file from a list. Or click cancel to create a new one.
Modified Layouts
If the JsonLayouts file has changed (you've edited the layout and sync'd the JsonLayouts files), Class From Layout will use any data for views that still exist in the amended layout. It will also display a count of new fields and removed fields. You can click the View Changes button to see which views have changed.
Exclude Existing
To enable quick addition of fields, the now visible Exclude Existing button will remove any pre existing views from code generation. That means that unless you change some options back, you will only get code for the new views, which you can then selectively paste into the existing class.
Reset Existing
Once you have finished generating the code for the new views, you can click the third newly visible button Reset Existing, which will revert the existing views to the state they were in when you clicked the Exclude Existing button. You can then save the configuration for later use.