code: function(onDone) {
  			var result = Array.isArray(this._selections) ? this._selections.slice() : [];
  			if (typeof onDone === "function") { //$NON-NLS-0$
  				onDone(result);
  			}
  			return result;
  		}
docs: Obtains all current selections and passes them to the provided function.
  @param {Function} onDone The function to invoke with the selections. Deprecated: just use the return value instead.
  @returns {Array}