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.
Activity
Patrick Corless
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52362 | Wed Mar 28 14:20:29 MDT 2018 | patrick.corless | for local properties used to set various spects of the view construction. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/preferences/PreferencesDialog.java
MODIFY /icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/preferences/AnnotationPreferencesPanel.java MODIFY /icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/util/PropertiesManager.java MODIFY /icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/SwingViewBuilder.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52364 | Thu Mar 29 14:10:00 MDT 2018 | patrick.corless | the local properties. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/util/PropertiesManager.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52365 | Thu Mar 29 14:12:17 MDT 2018 | patrick.corless | value is now correctly loaded from default values. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/SwingViewBuilder.java
|
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.3.1 [ 13113 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52376 | Wed Apr 04 10:03:55 MDT 2018 | patrick.corless | properties resulting a warning message. I've added a catch for the null file and added some quieter logging. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/util/PropertiesManager.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52377 | Wed Apr 04 13:10:37 MDT 2018 | patrick.corless | properties resulting a warning message. I've added a catch for the null file and added some quieter logging. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/util/PropertiesManager.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52379 | Thu Apr 05 08:52:12 MDT 2018 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/util/PropertiesManager.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52419 | Mon Apr 30 13:40:17 MDT 2018 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/preferences/PreferencesDialog.java
|
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
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.