Details
Description
The 6.3 release introduced a fairly major change to the PropertiesManager class (PDF-1182). The changes were intended to update the core functionality of the class for a simpler approach to saving properties. The enhancement also introduced a preferences dialog for the viewer ri for common settings.
One short site of the API changes was the many settings the didn't persist now automatically did. This had a negative effect on the using the SwingViewBuilder when building custom components. Once a setting was set it had to manually be unset. This has generated a few problems for some of our users.
One short site of the API changes was the many settings the didn't persist now automatically did. This had a negative effect on the using the SwingViewBuilder when building custom components. Once a setting was set it had to manually be unset. This has generated a few problems for some of our users.
The properties manage has been updated to have a local properties store which can be manipulated with checkAndStore*Property() methods which are used by UI building code. Settings that needed to be persisted should directly access the getPreferences():Preferences method. It is possible to write the local properties to the persistence store if desired with a call to saveStoredProperties() method, any existing property is overwritten.
The PropertiesManager documentation has also be updated to reflect the intended usage.