feat(io): reader/writer should rely on properties for file / folder selection from xml
Description
Base reader
and writer
has been improved to support <file>
, <folder>
, <resource>
and windowTitle
XML configuration as files
, folder
, resources
and window_title
properties. The XML configuration has been deprecated (but kept) and a unit test was added. Readers and writers that used the windowTitle
configuration (mainly by defining a different "default"), were updated to use window_title
property. This implies passing the class "default" to the super constructor.
Breaking change(s)
window_title
property required a slight change in the API: using the super constructor for the class default and use *m_window_title
to access the property when calling open_location_dialog()
.
How to test it?
Launch the unit tests and test readers/writers in applications (sight_viewer..)
Decreased code coverage
If you reduce test coverage, it is mandatory to justify it here
Related issue(s)
Closes #1345 (closed)