Beispiel #1
0
        public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS)
        {
            if (_tempFileName != null && File.Exists(_tempFileName))
            {
                File.Delete(_tempFileName);
            }

            _list.OnClose(new[] { vSTREECLOSEACTIONS });
        }
Beispiel #2
0
 /// <summary>
 /// Notifies the current tree list that it is being closed.
 /// </summary>
 /// <param name="ptca"></param>
 /// <returns></returns>
 public int OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     //Logger.Log("ResultList.OnClose");
     return VSConstants.E_NOTIMPL;
 }
 int IVsSimpleObjectList2.OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     // Do Nothing.
     return VSConstants.S_OK;
 }
Beispiel #4
0
 public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS)
 {
 }
Beispiel #5
0
 public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS) {
 }
Beispiel #6
0
        public void Close(VSTREECLOSEACTIONS vSTREECLOSEACTIONS) {
            if (_tempFileName != null && File.Exists(_tempFileName)) {
                File.Delete(_tempFileName);
            }

            _list.OnClose(new[] { vSTREECLOSEACTIONS });
        }
Beispiel #7
0
 int IVsLiteTreeList.OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     throw new NotImplementedException();
 }
Beispiel #8
0
 public int OnClose(VSTREECLOSEACTIONS[] ptca) {
     foreach (var item in _items) {
         item.Close(ptca[0]);
     }
     return VSConstants.S_OK;
 }
Beispiel #9
0
 public int OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     return VSConstants.S_OK;
 }
 /// <summary>
 ///     Called when a list is collapsed by the user.
 /// </summary>
 /// <param name="ptca"></param>
 /// <returns></returns>
 public int OnClose(VSTREECLOSEACTIONS[] ptca)
 {
     // We do not need to do anything on close.
     return VSConstants.E_NOTIMPL;
 }