Exemple #1
0
        public void UpdateSelectedGroup(TreeNode selectedNode, bool forceClear)
        {
            var files = new List <string>();

            AddFiles(selectedNode, files);
            SockDrawerService.Update(View.UpdateCompletedCallback, View.StatusUpdate, files, forceClear);
        }
Exemple #2
0
        public void UpdateActive(bool forceClear)
        {
            if (MainViewModel.Current == null)
            {
                throw new Exception("You must open a log file first before you can update the active document!");
            }

            SockDrawerService.Update(View.UpdateCompletedCallback,
                                     View.StatusUpdate,
                                     new List <string> {
                MainViewModel.Current.Model.File.Path
            }, forceClear);
        }
Exemple #3
0
 /// <summary>
 /// Updates the entire SockDrawer
 /// </summary>
 public void Update(bool forceClear)
 {
     SockDrawerService.Update(View.UpdateCompletedCallback, View.StatusUpdate, forceClear);
 }