Changes between Version 14 and Version 15 of Grits_ProjectPreferenceStore


Ignore:
Timestamp:
03/10/2017 05:29:27 PM (5 years ago)
Author:
shan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Grits_ProjectPreferenceStore

    v14 v15  
    11= Project Preference Store =
    2 [[PageOutline(1-4, Topics, pullout)]]
     2[[PageOutline(2-4, Topics, pullout)]]
    33''ProjectPreferenceStore'' is a '''local preference store''' for storing preference values related to project, e.g. preference for project's Task information. This local store caches the preference values in maps (the id of the preference variable is map's key). It calls ''GritsPreferenceStore'' only if the value is not found in its map.
    44
     
    9191
    9292// single choice preference values
    93 SingleChoicePreference actionPreference = ProjectPreferenceStore.getSingleChoicePreference(ProjectPreferenceStore.Preference.ACTION);
     93SingleChoicePreference actionPreference = ProjectPreferenceStore.getSingleChoicePreference(
     94                                 ProjectPreferenceStore.Preference.ACTION);
    9495Set<String> allActions = actionPreference.getAllValues();
    9596String defaultAction = actionPreference.getDefaultValue();