Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 65301 | Differences between
and this patch

Collapse All | Expand All

(-)ConfigurationWizardMainPage.java (+25 lines)
Lines 170-175 Link Here
170
					oldLocation = location;
170
					oldLocation = location;
171
					location = null;
171
					location = null;
172
				}
172
				}
173
				if (event.widget == hostCombo) {
174
					String hostText = hostCombo.getText(); 
175
					if (hostText.length() > 0 && hostText.charAt(0) == ':') {
176
						try {
177
							CVSRepositoryLocation newLocation = CVSRepositoryLocation.fromString(hostText);
178
							connectionMethodCombo.setText(newLocation.getMethod().getName());
179
							repositoryPathCombo.setText(newLocation.getRootDirectory());
180
							int port = newLocation.getPort();
181
							if (port == ICVSRepositoryLocation.USE_DEFAULT_PORT) {
182
								useDefaultPort.setSelection(true);
183
								useCustomPort.setSelection(false);
184
							} else {
185
								useCustomPort.setSelection(true);
186
								useDefaultPort.setSelection(false);
187
								portText.setText(String.valueOf(port));	
188
							}
189
							
190
							userCombo.setText(newLocation.getUsername());
191
							//passwordText.setText(newLocation.xxx);
192
							hostCombo.setText(newLocation.getHost());
193
						} catch (CVSException e) {
194
							CVSUIPlugin.log(e);
195
						}
196
					}
197
				}
173
				updateWidgetEnablements();
198
				updateWidgetEnablements();
174
			}
199
			}
175
		};
200
		};

Return to bug 65301