Beispiel #1
0
 // Disable deletion
 internal override bool CanDeleteItem(Microsoft.VisualStudio.Shell.Interop.__VSDELETEITEMOPERATION deleteOperation)
 {
     if (IsEntryPoint)
     {
         return(false);
     }
     else
     {
         return(base.CanDeleteItem(deleteOperation));
     }
 }
 //Working Directory node cannot be deleted
 internal override bool CanDeleteItem(Microsoft.VisualStudio.Shell.Interop.__VSDELETEITEMOPERATION deleteOperation)
 {
     return(false);
 }