ICEpdf
  1. ICEpdf
  2. PDF-1249

Improve the stick nature of the PropertiesManager

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.3.1
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Viewer RI

      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.

        Activity

        Hide
        Patrick Corless added a comment -

        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.

        Show
        Patrick Corless added a comment - 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.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: