bundles/org.eclipse.orion.client.cf/web/cfui/plugins/wizards/common/wizardUtils.js
function(options){
			options = options || {};
			
			var message = options.message || messages["loadingDeploymentSettings..."];
			var showMessage = options.showMessage;
			var hideMessage = options.hideMessage;
			
			var preferences = options.preferences;
			var fileClient = options.fileClient;
			var resource = options.resource;
			
			var d = new Deferred();
			showMessage(message);

			fileClient.read(resource.ContentLocation, true).then(
				function(result){
					mCfUtil.getTargets(preferences, result).then(function(result){
					hideMessage();
					d.resolve(result);
				}, d.reject);
			}, d.reject);
			
			return d;
		}
function(options){
			options = options || {};
			
			var message = options.message || messages["loadingDeploymentSettings..."];
			var showMessage = options.showMessage;
			var hideMessage = options.hideMessage;
			
			var preferences = options.preferences;
			var fileClient = options.fileClient;
			var resource = options.resource;
			
			var d = new Deferred();
			showMessage(message);

			fileClient.read(resource.ContentLocation, true).then(
				function(result){
					mCfUtil.getTargets(preferences, result).then(function(result){
					hideMessage();
					d.resolve(result);
				}, d.reject);
			}, d.reject);
			
			return d;
		}
function ( options ) { options = options || { } ; var message = options . message || messages [ "loadingDeploymentSettings..." ] ; var showMessage = options . showMessage ; var hideMessage = options . hideMessage ; var preferences = options . preferences ; var fileClient = options . fileClient ; var resource = options . resource ; var d = new Deferred ( ) ; showMessage ( message ) ; fileClient . read ( resource . ContentLocation , true ) . then ( function ( result ) { mCfUtil . getTargets ( preferences , result ) . then ( function ( result ) { hideMessage ( ) ; d . resolve ( result ) ; } , d . reject ) ; } , d . reject ) ; return d ; }
Summons the available clouds with the
default one if present.
Summons the available clouds with the default one if present .