Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-06-16 20:45:48 +0000
committermkersten2007-06-16 20:45:48 +0000
commitd2515d4a8c5327590856ed9d05bf9c42537e0136 (patch)
tree79f8ae8cea7df734d0913303a4c7f4e85c73628f /org.eclipse.mylyn.help.ui/src
parent23522647b2fc4a09610fa2cad536fbf758a3b319 (diff)
downloadorg.eclipse.mylyn.tasks-d2515d4a8c5327590856ed9d05bf9c42537e0136.tar.gz
org.eclipse.mylyn.tasks-d2515d4a8c5327590856ed9d05bf9c42537e0136.tar.xz
org.eclipse.mylyn.tasks-d2515d4a8c5327590856ed9d05bf9c42537e0136.zip
RESOLVED - bug 192807: [new eux] add Welcome action for showing the UI legend
https://bugs.eclipse.org/bugs/show_bug.cgi?id=192807
Diffstat (limited to 'org.eclipse.mylyn.help.ui/src')
-rw-r--r--org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/actions/ShowMylynLegendAction.java (renamed from org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/actions/ShowMylarLegendAction.java)2
-rw-r--r--org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/dialogs/UiLegendDialog.java6
2 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/actions/ShowMylarLegendAction.java b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/actions/ShowMylynLegendAction.java
index a341efc36..0b172d53f 100644
--- a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/actions/ShowMylarLegendAction.java
+++ b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/actions/ShowMylynLegendAction.java
@@ -22,7 +22,7 @@ import org.eclipse.ui.PlatformUI;
/**
* @author Mik Kersten
*/
-public class ShowMylarLegendAction implements IWorkbenchWindowActionDelegate {
+public class ShowMylynLegendAction implements IWorkbenchWindowActionDelegate {
public void dispose() {
// ignore
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 d02b26093..cbeb7d684 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
@@ -48,6 +48,8 @@ import org.eclipse.ui.themes.IThemeManager;
*/
public class UiLegendDialog extends PopupDialog {
+ public static final String TITLE = "Mylyn UI Legend";
+
private FormToolkit toolkit;
private ScrolledForm form;
@@ -87,7 +89,7 @@ public class UiLegendDialog extends PopupDialog {
@Override
protected final Control createDialogArea(final Composite parent) {
- getShell().setText("Mylyn UI Legend");
+ getShell().setText(TITLE);
toolkit = new FormToolkit(parent.getDisplay());
form = toolkit.createScrolledForm(parent);
@@ -97,7 +99,7 @@ public class UiLegendDialog extends PopupDialog {
Label image = null;
Section section = toolkit.createSection(form.getBody(), Section.DESCRIPTION);
- section.setText("Mylar UI Legend ");
+ section.setText(TITLE + " ");
Composite sectionClient = toolkit.createComposite(section);
GridLayout layout = new GridLayout();
layout.verticalSpacing = 0;

Back to the top