void OnEntryChanged(object sender, CombineEntryEventArgs e)
 {
     UpdateTests ();
 }
 void OnEntryRemoved(object sender, CombineEntryEventArgs e)
 {
     ITreeBuilder tb = Context.GetTreeBuilder (e.CombineEntry);
     if (tb != null) tb.Remove ();
 }
 void OnEntryAdded(object sender, CombineEntryEventArgs e)
 {
     ITreeBuilder tb = Context.GetTreeBuilder (sender);
     if (tb != null) {
         tb.AddChild (e.CombineEntry, true);
         tb.Expanded = true;
     }
 }
 void OnCombineEntryRemoved(object sender, CombineEntryEventArgs args)
 {
     if (args.CombineEntry is Project)
         UnloadProjectDatabase ((Project) args.CombineEntry);
     else if (args.CombineEntry is Combine)
         UnloadCombineDatabases ((Combine) args.CombineEntry);
     CleanUnusedDatabases ();
 }
 void OnCombineEntryAdded(object sender, CombineEntryEventArgs args)
 {
     if (args.CombineEntry is Project)
         LoadProjectDatabase ((Project)args.CombineEntry);
     else if (args.CombineEntry is Combine)
         LoadCombineDatabases ((Combine)args.CombineEntry);
 }
Exemplo n.º 6
0
 protected virtual void OnEntryRemoved(CombineEntryEventArgs e)
 {
     if (EntryRemoved != null) {
         EntryRemoved (this, e);
     }
 }