Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-07-07 01:52:39 +0000
committermkersten2007-07-07 01:52:39 +0000
commit9b165da60be5b80ae541a676afe98739911be1ef (patch)
tree597ca6ec9b1a214f7d93fb59188c7662d5f9ee96 /org.eclipse.mylyn.help.ui/src
parenta1c13e483fae2ca3f5f551c6f8d24f86592b8f5b (diff)
downloadorg.eclipse.mylyn.tasks-9b165da60be5b80ae541a676afe98739911be1ef.tar.gz
org.eclipse.mylyn.tasks-9b165da60be5b80ae541a676afe98739911be1ef.tar.xz
org.eclipse.mylyn.tasks-9b165da60be5b80ae541a676afe98739911be1ef.zip
RESOLVED - bug 195508: Invalid "Getting started" link in Recommended Preferences
https://bugs.eclipse.org/bugs/show_bug.cgi?id=195508
Diffstat (limited to 'org.eclipse.mylyn.help.ui/src')
-rw-r--r--org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java19
1 files changed, 18 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java
index d3ead9581..23fe8aba5 100644
--- a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java
+++ b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java
@@ -125,7 +125,7 @@ public class UiLegendDialog extends PopupDialog {
close();
}
});
-
+
// TODO: get rid of ridiculous space-based padding
Composite tasksComposite = toolkit.createComposite(form.getBody());
@@ -357,6 +357,23 @@ public class UiLegendDialog extends PopupDialog {
}
}
+ Hyperlink gettingStartedLink = toolkit.createHyperlink(form.getBody(), "Also see the Getting Started documentation online", SWT.NULL);
+ gettingStartedLink.addHyperlinkListener(new IHyperlinkListener() {
+
+ public void linkActivated(HyperlinkEvent e) {
+ close();
+ TasksUiUtil.openUrl("http://www.eclipse.org/mylyn/start/", false);
+ }
+
+ public void linkEntered(HyperlinkEvent e) {
+ // ignore
+ }
+
+ public void linkExited(HyperlinkEvent e) {
+ // ignore
+ }
+ });
+
form.pack();
return parent;
}

Back to the top