Changes between Version 15 and Version 16 of Grits_ProjectPreferenceStore
- Timestamp:
- 03/20/2017 02:53:24 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Grits_ProjectPreferenceStore
v15 v16 45 45 46 46 47 {{{preference enum object (as parameter)}}} -> {{{PROJECT PREFERENCE STORE}}} -> {{{preference values (returned)}}} 47 [[BR]] 48 [[Image(preference_store_enum_and_values.png)]][[BR]] 49 __''ProjectPreferenceStore Enum and Values''__ 50 [[BR]] 51 48 52 49 53 __Note:__ The simplest ''StringPreference'' is self-contained. It has a single string value that is available in the enum object itself. … … 69 73 70 74 === Working with GritsPreferenceStore === 71 {{{Classes using preference values}}} call-> {{{PROJECT PREFERENCE STORE}}} calls-> {{{GRITS PREFERENCE STORE}}} 75 [[BR]] 76 [[Image(using_preference_store.png)]][[BR]] 77 __''Working with GritsPreferenceStore''__ 78 [[BR]] 79 72 80 73 81 In GRITS wherever a preference value related to a project is used, ''ProjectPreferenceStore'' is to be called. ''ProjectPreferenceStore'' would first look into its cache and if it is not found then it would call ''GritsPreferenceStore''. It would add these value to its cache so that next time it need not to call ''GritsPreferenceStore''.