code: function(deleteLocation, eventData) {
  			//return _doServiceCall(this._getService(deleteLocation), "deleteFile", arguments); //$NON-NLS-1$
  			return _doServiceCall(this._getService(deleteLocation), "deleteFile", arguments).then(function(result){ //$NON-NLS-0$
  				if(this.isEventFrozen()) {
  					if(!this._frozenEvent.deleted) {
  						this._frozenEvent.deleted = [];
  					}
  					this._frozenEvent.deleted.push({deleteLocation: deleteLocation, eventData: eventData});
  				} else {
  					this.dispatchEvent({ type: "Changed", deleted: [{deleteLocation: deleteLocation, eventData: eventData}]}); //$NON-NLS-0$
  				}
  				return result;
  			}.bind(this));
  		}
docs: Deletes a file, directory, project or workspace.
  @param {String} deleteLocation The location of the file or directory to delete.
  @param {Object} eventData The event data that will be sent back.
  @public
  @returns {Deferred} A deferred that will delete the given file