Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-05-16 15:38:47 +0000
committerMichael Valenta2007-05-16 15:38:47 +0000
commit72f8cc33339fa2b8bcbd8763f56410bbde54ca83 (patch)
tree8765d4345b3a24ccd343ecd69824088b791baffc /bundles/org.eclipse.ui.net
parenta95a1f283dbf3688db2fdb4a049eb2e9b4a36780 (diff)
downloadeclipse.platform.team-72f8cc33339fa2b8bcbd8763f56410bbde54ca83.tar.gz
eclipse.platform.team-72f8cc33339fa2b8bcbd8763f56410bbde54ca83.tar.xz
eclipse.platform.team-72f8cc33339fa2b8bcbd8763f56410bbde54ca83.zip
Bug 179295 [Doc] Add doc for Proxy and SSH2 preference pages and API
Diffstat (limited to 'bundles/org.eclipse.ui.net')
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java19
1 files changed, 17 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java
index 08da8a2c3..d2b6bf814 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java
@@ -23,16 +23,27 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.*;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.*;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.eclipse.ui.PlatformUI;
public class ProxyPreferencePage extends PreferencePage implements
IWorkbenchPreferencePage {
+ private static final String PROXY_PREFERENCE_PAGE_CONTEXT_ID
+ = "org.eclipse.ui.net.proxy_preference_page_context"; //$NON-NLS-1$
+
Entry[] entryList;
Button directConnectionToButton;
private Button manualProxyConfigurationButton;
@@ -191,6 +202,10 @@ public class ProxyPreferencePage extends PreferencePage implements
initializeValues(proxyService.isProxiesEnabled());
applyDialogFont(composite);
+
+ // F1
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(
+ getControl(), PROXY_PREFERENCE_PAGE_CONTEXT_ID);
return composite;
}

Back to the top