Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2014-02-14 10:13:32 +0000
committerBenjamin Muskalla2014-02-14 13:55:54 +0000
commitbb11c7c184945e8a6ba0f6d44cccda4bacaf4e09 (patch)
tree83a4d5d71e4629219eddbe877de1305cec668fb6
parentcfd9a96e47f484d3ecb96e3dbfe306b63bab50e4 (diff)
downloadorg.eclipse.mylyn.tasks-bb11c7c184945e8a6ba0f6d44cccda4bacaf4e09.tar.gz
org.eclipse.mylyn.tasks-bb11c7c184945e8a6ba0f6d44cccda4bacaf4e09.tar.xz
org.eclipse.mylyn.tasks-bb11c7c184945e8a6ba0f6d44cccda4bacaf4e09.zip
Allow access to system proxy button
Some connectors wish to change how default proxies are handled and need access to the system proxy button and the related hyperlink for the preference page. Change-Id: Idbc6aa8fb79edba5d11e754ff5bbb2ded3ff0f18 Signed-off-by: Benjamin Muskalla <benjamin.muskalla@tasktop.com>
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java
index 8f81a5852..c72a28c02 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java
@@ -214,7 +214,15 @@ IAdaptable {
private boolean needsProxy;
- private Button systemProxyButton;
+ /**
+ * @since 3.11
+ */
+ protected Button systemProxyButton;
+
+ /**
+ * @since 3.11
+ */
+ protected Hyperlink changeProxySettingsLink;
private String oldProxyUsername = ""; //$NON-NLS-1$
@@ -1015,7 +1023,7 @@ IAdaptable {
}
});
- Hyperlink changeProxySettingsLink = toolkit.createHyperlink(systemSettingsComposite,
+ changeProxySettingsLink = toolkit.createHyperlink(systemSettingsComposite,
Messages.AbstractRepositorySettingsPage_Change_Settings, SWT.NULL);
changeProxySettingsLink.setBackground(compositeContainer.getBackground());
changeProxySettingsLink.addHyperlinkListener(new IHyperlinkListener() {

Back to the top