Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2012-08-01 15:20:03 +0000
committerDani Megert2012-08-07 09:19:32 +0000
commit3107a0ea24ee214188e770b114716aa6a9f71f96 (patch)
tree701d19ac2e6e9627972d7386e00c68d0616af8d9 /bundles/org.eclipse.ui.net
parent40ce66b2dc9e5974544adc03994a37e677874b46 (diff)
downloadeclipse.platform.team-3107a0ea24ee214188e770b114716aa6a9f71f96.tar.gz
eclipse.platform.team-3107a0ea24ee214188e770b114716aa6a9f71f96.tar.xz
eclipse.platform.team-3107a0ea24ee214188e770b114716aa6a9f71f96.zip
bug 381905 - Unexternalized Auth boolean values for network connections
Diffstat (limited to 'bundles/org.eclipse.ui.net')
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NetUIMessages.java4
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesLabelProvider.java16
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/messages.properties4
3 files changed, 15 insertions, 9 deletions
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NetUIMessages.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NetUIMessages.java
index d5cca4b73..6f5b2c1a9 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NetUIMessages.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NetUIMessages.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 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
@@ -42,6 +42,8 @@ public final class NetUIMessages extends NLS {
public static String ProxyPreferencePage_16;
public static String ProxyPreferencePage_17;
public static String ProxyPreferencePage_18;
+ public static String ProxyPreferencePage_19;
+ public static String ProxyPreferencePage_20;
public static String ProxyEntryDialog_0;
public static String ProxyEntryDialog_1;
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesLabelProvider.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesLabelProvider.java
index 70840c80a..277229fa1 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesLabelProvider.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesLabelProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2009 IBM Corporation and others.
+ * Copyright (c) 2008, 2012 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
@@ -10,18 +10,20 @@
*******************************************************************************/
package org.eclipse.ui.internal.net;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.graphics.Color;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.TableColumn;
+
import org.eclipse.core.internal.net.ProxyData;
import org.eclipse.core.internal.net.ProxySelector;
+
import org.eclipse.jface.viewers.BaseLabelProvider;
import org.eclipse.jface.viewers.IColorProvider;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.TableColumn;
public class ProxyEntriesLabelProvider extends BaseLabelProvider implements
ITableLabelProvider, IColorProvider {
@@ -60,7 +62,7 @@ public class ProxyEntriesLabelProvider extends BaseLabelProvider implements
case 4:
return ProxySelector.localizeProvider(data.getSource());
case 5:
- return Boolean.toString(data.isRequiresAuthentication());
+ return data.isRequiresAuthentication() ? NetUIMessages.ProxyPreferencePage_19 : NetUIMessages.ProxyPreferencePage_20;
case 6:
return data.getUserId();
case 7:
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/messages.properties b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/messages.properties
index bb5084485..8cc93c2c8 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/messages.properties
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/messages.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2009 IBM Corporation and others.
+# Copyright (c) 2000, 2012 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
@@ -34,6 +34,8 @@ ProxyPreferencePage_15=Add &Host...
ProxyPreferencePage_16=Edi&t...
ProxyPreferencePage_17=Re&move
ProxyPreferencePage_18=Dynamic
+ProxyPreferencePage_19=Yes
+ProxyPreferencePage_20=No
ProxyEntryDialog_0=New Proxy Entry
ProxyEntryDialog_1=Edit Proxy Entry

Back to the top