Ejemplo n.º 1
0
 private void OnFileTabChanged(object sender, IseEventArgs args)
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         this.WorkspaceDirectoryModel.ResetWorkspaceDirectoryIfRequired();
     });
     this.ActiveDocumentPotentiallyChanged();
 }
Ejemplo n.º 2
0
 private void OnActiveDocumentSyncEvent(object sender, IseEventArgs args)
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         if (this.MainViewModel.SyncWithActiveDocument)
         {
             this.LocateFileInTree();
         }
     });
 }
 private void OnActiveDocumentSyncEvent(object sender, IseEventArgs args)
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         if (MainViewModel.SyncWithActiveDocument)
         {
             LocateFileInTree();
         }
     });
 }
Ejemplo n.º 4
0
 private void OnFileTabChanged(object sender, IseEventArgs args)
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         this.WorkspaceDirectoryModel.ResetWorkspaceDirectoryIfRequired();
     });
     this.ActiveDocumentPotentiallyChanged();
 }
Ejemplo n.º 5
0
 private void ResetWorkspaceOnFileTabChanged(object sender, IseEventArgs args)
 {
     this.commandExecutor.ExecuteWithParam <ResetWorkspaceDirectoryCommand, bool>(false);
     this.commandExecutor.ExecuteWithParam <SyncWithActiveDocumentCommand, bool>(true);
 }
Ejemplo n.º 6
0
 private void ResetWorkspaceOnFileTabChanged(object sender, IseEventArgs args)
 {
     this.commandExecutor.ExecuteWithParam<ResetWorkspaceDirectoryCommand, bool>(false);
     this.commandExecutor.ExecuteWithParam<SyncWithActiveDocumentCommand, bool>(true);
 }