public void UpdateSelectedGroup(TreeNode selectedNode, bool forceClear) { var files = new List <string>(); AddFiles(selectedNode, files); SockDrawerService.Update(View.UpdateCompletedCallback, View.StatusUpdate, files, forceClear); }
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); }
/// <summary> /// Updates the entire SockDrawer /// </summary> public void Update(bool forceClear) { SockDrawerService.Update(View.UpdateCompletedCallback, View.StatusUpdate, forceClear); }