code: function(launchConfiguration, checkStatus) {
  			var errorHandler = function (error) {
  				// stop the progress spinner in the launch config dropdown trigger
  				this.setStatus({
  					error: error || true //if no error was passed in we still want to ensure that the error state is recorded
  				});
  			}.bind(this);
  			
  			if (launchConfiguration) {
  				this._selectedLaunchConfiguration = launchConfiguration;
  				this._setLaunchConfigurationsLabel(launchConfiguration);
  				
  				if (checkStatus) {
  					this._displayStatusCheck(launchConfiguration);
  					var startTime = Date.now();
  					this._checkLaunchConfigurationStatus(launchConfiguration).then(function(_status) {
  						var interval = Date.now() - startTime;
  						mMetrics.logTiming("deployment", "check status (launch config)", interval, launchConfiguration.Type); //$NON-NLS-1$ //$NON-NLS-2$
  
  						launchConfiguration.status = _status;
  						this._updateLaunchConfiguration(launchConfiguration);
  					}.bind(this), errorHandler);
  				} else {
  					// do not check the status, only set it in the UI if it is already in the launchConfiguration
  					if (launchConfiguration.status) {
  						this.setStatus(launchConfiguration.status);
  					}
  				}
  			} else {
  				this._stopStatusPolling(); //stop before clearing selected config
  				this._selectedLaunchConfiguration = null;
  				this._setLaunchConfigurationsLabel(null);
  				this.setStatus({});
  			}
  			this._menuItemsCache = [];
  		}
docs: Selects the specified launch configuration
  
  @param {Object} launchConfiguration The launch configuration to select
  @param {Boolean} checkStatus Specifies whether or not the status of the launchConfiguration should be checked