* @return Cloud URL if successfully prompted and entered by user. Null
* otherwise
*/
protected CloudServerURL promptForCloudURL(String serverID, Shell shell, List<CloudServerURL> allURLs,
String existingURL, String existingName) {
CloudUrlWizard wizard = new CloudUrlWizard(serverID, allURLs, existingURL, existingName);
WizardDialog dialog = new WizardDialog(shell, wizard);
if (dialog.open() == Dialog.OK) {
return wizard.getCloudUrl();
}
return null;
}