Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-06-11 18:00:32 -0400
committerrelves2007-06-11 18:00:32 -0400
commit5539342fc0c9b785cbd90a84ae29d3af16c63d89 (patch)
tree6b5acaf9311a7141fc0f838739b80ed778a334e7
parent10024a18536588106096a991aa4733617e3a310c (diff)
downloadorg.eclipse.mylyn.tasks-5539342fc0c9b785cbd90a84ae29d3af16c63d89.tar.gz
org.eclipse.mylyn.tasks-5539342fc0c9b785cbd90a84ae29d3af16c63d89.tar.xz
org.eclipse.mylyn.tasks-5539342fc0c9b785cbd90a84ae29d3af16c63d89.zip
NEW - bug 179254: [api] AbstractRepositoryTaskEditor needs to be decomposed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=179254
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java6
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java4
2 files changed, 3 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
index fbd881fcd..1a2595f25 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
@@ -331,7 +331,7 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
}
Button button = addButtonField(rolesComposite, attribute, SWT.CHECK);
if (hasChanged(attribute)) {
- button.setBackground(getBackgroundIncoming());
+ button.setBackground(getColorIncoming());
}
attribute = null;
@@ -342,7 +342,7 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
}
button = addButtonField(rolesComposite, attribute, SWT.CHECK);
if (hasChanged(attribute)) {
- button.setBackground(getBackgroundIncoming());
+ button.setBackground(getColorIncoming());
}
}
@@ -484,7 +484,7 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
deadlinePicker.setFont(TEXT_FONT);
deadlinePicker.setDatePattern("yyyy-MM-dd");
if (hasChanged(attribute)) {
- deadlinePicker.setBackground(getBackgroundIncoming());
+ deadlinePicker.setBackground(getColorIncoming());
}
deadlinePicker.addPickerSelectionListener(new SelectionListener() {
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
index d37c6952d..788b269f2 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
@@ -443,10 +443,6 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage {
return repositoryTask;
}
- public Color getBackgroundIncoming() {
- return colorIncoming;
- }
-
// @Override
// public void markDirty(boolean dirty) {
// if (repositoryTask != null) {

Back to the top