Community
Participate
Working Groups
/*******************************************************************************
* Copyright (c) 2005, 2009 IBM Corporation and others.
* Copyright (c) 2005, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
String data[] = (String[]) hosts.toArray(new String[0]);
ProxySelector.setBypassHosts(provider, data);
}
public void performDefaults() {
// TODO restore default settings for bypasses
bypassHosts.clear();
initializeValues();
* Copyright (c) 2008, 2009 IBM Corporation and others.
* Copyright (c) 2008, 2010 IBM Corporation and others.
ProxyData data[] = (ProxyData[]) proxies.toArray(new ProxyData[0]);
ProxySelector.setProxyData(provider, data);
String provider = getEditableProvider();
Iterator it = proxyEntries.iterator();
while (it.hasNext()) {
ProxyData data = (ProxyData) it.next();
if (data.getSource().equals(provider)) {
data.setHost(""); //$NON-NLS-1$
data.setPort(-1);
data.setUserid(null);
data.setPassword(null);
entriesViewer.refresh();
index = 2;
providerCombo.select(index);
proxyEntriesComposite.performDefaults();
nonProxyHostsComposite.performDefaults();
setProvider(ProxySelector.unlocalizeProvider(providerCombo.getItem(index)));