Exemple #1
0
        protected override void OnAssignProjectColoursUpdate()
        {
            if (_initializing)
            {
                return;
            }

            _storedSettingsRepository.SetAssignProjectColours(
                AssignProjectColours);
        }
Exemple #2
0
 /// <summary>
 /// Store all property values in <paramref name="model"/>
 /// </summary>
 /// <param name="model">
 /// User preference model containing values with which to overwrite
 /// stored values with
 /// </param>
 public void SaveModel(IUserPreferencesModel model)
 {
     _storedSettingsRepository.SetAssignProjectColours(model.AssignProjectColours);
     _storedSettingsRepository.SetGroupByProject(model.GroupByProject);
     _storedSettingsRepository.SetHighlightFileName(model.HighlightFileName);
     _storedSettingsRepository.SetShowFileTypeIcons(model.ShowFileTypeIcons);
     _storedSettingsRepository.SetShowRecentUsage(model.ShowRecentUsage);
     _storedSettingsRepository.SetPathSegmentCount(model.PathSegmentCount);
     _storedSettingsRepository.SetUnityRefreshDelay(model.UnityRefreshDelay);
     _storedSettingsRepository.SetDocumentSortOptionName(model.DocumentSortOptionName);
     _storedSettingsRepository.SetProjectSortOptionName(model.ProjectSortOptionName);
 }