Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-02-16 19:51:36 -0500
committerrelves2007-02-16 19:51:36 -0500
commit2e27ad2e511b3dbdfb647a142f8fd4977decbb44 (patch)
tree95bdcef810dcdc9bf40f309d0f07322d6ce006dc
parent5a2513e7729d559087530dffb1222419e7ac8ca8 (diff)
downloadorg.eclipse.mylyn.tasks-2e27ad2e511b3dbdfb647a142f8fd4977decbb44.tar.gz
org.eclipse.mylyn.tasks-2e27ad2e511b3dbdfb647a142f8fd4977decbb44.tar.xz
org.eclipse.mylyn.tasks-2e27ad2e511b3dbdfb647a142f8fd4977decbb44.zip
NEW - bug 158921: improve task editor information density
https://bugs.eclipse.org/bugs/show_bug.cgi?id=158921
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java8
1 files changed, 6 insertions, 2 deletions
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 9bf28ce3f..9e6985000 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
@@ -143,6 +143,7 @@ import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.RetargetAction;
+import org.eclipse.ui.forms.IFormColors;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.events.ExpansionAdapter;
@@ -1722,6 +1723,8 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage {
foundNew = true;
}
+ expandableComposite .setTitleBarForeground(toolkit.getColors().getColor(IFormColors.TB_TOGGLE));
+
expandableComposite.setText(taskComment.getNumber() + ": " + taskComment.getAuthorName() + ", "
+ taskComment.getCreated());
@@ -2009,7 +2012,7 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage {
}
@Override
- public void dispose() {
+ public void dispose() {
TasksUiPlugin.getTaskListManager().getTaskList().removeChangeListener(TASKLIST_CHANGE_LISTENER);
getSite().getPage().removeSelectionListener(selectionListener);
if (waitCursor != null) {
@@ -2021,7 +2024,8 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage {
// Must discard these unsaved changes
TasksUiPlugin.getSynchronizationManager().discardOutgoing(repositoryTask);
repositoryTask.setDirty(false);
- }
+ }
+ toolkit.dispose();
super.dispose();
}

Back to the top