Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2008-04-30 17:22:25 +0000
committermkersten2008-04-30 17:22:25 +0000
commit3b1c89d2739a6ef9b58d2ddf5207ba76dbe8bfd6 (patch)
tree3480cc0bf02983e26bbab36315dce9b27851960e /org.eclipse.mylyn.help.ui/src
parent0170e330be19f2eaa54f5e43b99bb8bc65ab5b0d (diff)
downloadorg.eclipse.mylyn.tasks-3b1c89d2739a6ef9b58d2ddf5207ba76dbe8bfd6.tar.gz
org.eclipse.mylyn.tasks-3b1c89d2739a6ef9b58d2ddf5207ba76dbe8bfd6.tar.xz
org.eclipse.mylyn.tasks-3b1c89d2739a6ef9b58d2ddf5207ba76dbe8bfd6.zip
NEW - bug 214379: [api] Generalize screen capture UI and other common facilities for cross-project use
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214379
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.java17
1 files changed, 9 insertions, 8 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 d5282d91a..6c1e28252 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
@@ -14,8 +14,9 @@ import java.util.List;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.PopupDialog;
import org.eclipse.jface.preference.PreferenceDialog;
-import org.eclipse.mylyn.internal.provisional.commons.ui.CommonColorsAndFonts;
+import org.eclipse.mylyn.internal.provisional.commons.ui.CommonFonts;
import org.eclipse.mylyn.internal.provisional.commons.ui.CommonImages;
+import org.eclipse.mylyn.internal.provisional.commons.ui.CommonThemes;
import org.eclipse.mylyn.internal.tasks.ui.TasksUiImages;
import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskElementLabelProvider;
@@ -244,13 +245,13 @@ public class UiLegendDialog extends PopupDialog {
imageLabel.setImage(CommonImages.getImage(TasksUiImages.TASK));
Label labelToday = toolkit.createLabel(activityClient, "Scheduled for today");
labelToday.setForeground(themeManager.getCurrentTheme().getColorRegistry().get(
- CommonColorsAndFonts.THEME_COLOR_TASK_TODAY_SCHEDULED));
+ CommonThemes.COLOR_SCHEDULED_TODAY));
imageLabel = toolkit.createLabel(activityClient, "");
imageLabel.setImage(CommonImages.getImage(TasksUiImages.TASK));
Label labelOverdue = toolkit.createLabel(activityClient, "Past scheduled date");
labelOverdue.setForeground(themeManager.getCurrentTheme().getColorRegistry().get(
- CommonColorsAndFonts.THEME_COLOR_TASK_PAST_SCHEDULED));
+ CommonThemes.COLOR_SCHEDULED_PAST));
// imageLabel = toolkit.createLabel(activityClient, "");
// imageLabel.setImage(TasksUiImages.getImage(TasksUiImages.TASK));
@@ -262,17 +263,17 @@ public class UiLegendDialog extends PopupDialog {
imageLabel = toolkit.createLabel(activityClient, "");
imageLabel.setImage(CommonImages.getImage(TasksUiImages.TASK));
Label labelCompleted = toolkit.createLabel(activityClient, "Completed");
- labelCompleted.setFont(CommonColorsAndFonts.STRIKETHROUGH);
+ labelCompleted.setFont(CommonFonts.STRIKETHROUGH);
// labelCompleted.setForeground(TaskListColorsAndFonts.COLOR_TASK_COMPLETED);
labelCompleted.setForeground(themeManager.getCurrentTheme().getColorRegistry().get(
- CommonColorsAndFonts.THEME_COLOR_COMPLETED));
+ CommonThemes.COLOR_COMPLETED));
imageLabel = toolkit.createLabel(activityClient, "");
imageLabel.setImage(CommonImages.getImage(TasksUiImages.TASK));
Label labelCompletedToday = toolkit.createLabel(activityClient, "Completed today");
- labelCompletedToday.setFont(CommonColorsAndFonts.STRIKETHROUGH);
+ labelCompletedToday.setFont(CommonFonts.STRIKETHROUGH);
labelCompletedToday.setForeground(themeManager.getCurrentTheme().getColorRegistry().get(
- CommonColorsAndFonts.THEME_COLOR_TASK_TODAY_COMPLETED));
+ CommonThemes.COLOR_COMPLETED_TODAY));
imageLabel = toolkit.createLabel(activityClient, "");
imageLabel.setImage(CommonImages.getImage(CommonImages.OVERLAY_DATE_DUE));
@@ -282,7 +283,7 @@ public class UiLegendDialog extends PopupDialog {
imageLabel.setImage(CommonImages.getImage(CommonImages.OVERLAY_DATE_OVERDUE));
Label textLabel = toolkit.createLabel(activityClient, "Past Due date");
textLabel.setForeground(themeManager.getCurrentTheme().getColorRegistry().get(
- CommonColorsAndFonts.THEME_COLOR_TASK_PAST_DUE));
+ CommonThemes.COLOR_OVERDUE));
imageLabel = toolkit.createLabel(activityClient, "");
imageLabel.setImage(CommonImages.getImage(CommonImages.BLANK));

Back to the top