Exemplo n.º 1
0
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     if (!this._doingReplace)
     {
         // Then the list of matching nodes we found might now be invalid!
         ResetPosition();
     }
 }
Exemplo n.º 2
0
 void OnModelChanged(ModelChangedEventArgs e)
 {
     try
     {
         if (!string.IsNullOrEmpty(_model.FileName))
         {
             var uri = new Uri(_model.FileName);
             if (uri != this.xsltControl.BaseUri)
             {
                 this.xsltControl.BaseUri = uri;
                 this._xsltFiles.BaseUri  = uri;
                 this.OutputFileName.Text = ""; // reset it since the file type might need to change...
                 _userSpecifiedOutput     = false;
             }
         }
         this.SourceFileName.Text = _model.XsltFileName;
     }
     catch (Exception ex)
     {
         Debug.WriteLine("XsltViewer.OnModelChanged exception " + ex.Message);
     }
 }
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     ClearCache();
 }
Exemplo n.º 4
0
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     OnModelChanged(e);
 }
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     // Then the list of matching nodes we found might now be invalid!
     this.list = null;
 }
Exemplo n.º 6
0
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     if (e.ModelChangeType == ModelChangeType.Reloaded) {
         this.undoManager.Clear();
         this.taskList.Clear();
     }
     if (e.ModelChangeType == ModelChangeType.BeginBatchUpdate) {
         batch++;
     } else if (e.ModelChangeType == ModelChangeType.EndBatchUpdate) {
         batch--;
     }
     if (batch == 0) OnModelChanged();
 }
Exemplo n.º 7
0
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     // Then the list of matching nodes we found might now be invalid!
     this.list = null;
 }
Exemplo n.º 8
0
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     ClearCache();
 }
Exemplo n.º 9
0
 void OnModelChanged(object sender, ModelChangedEventArgs e)
 {
     OnModelChanged();
 }