Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-02-16 03:17:46 -0500
committermkersten2007-02-16 03:17:46 -0500
commitb80e4efa9459525fd18647ed46898f3e692f6515 (patch)
tree2474c7489a4ca29162cb0834ef9b53d2857bcd90
parent0bcda2be5c9e143828cf8859fa1f414015ea65bb (diff)
downloadorg.eclipse.mylyn.tasks-b80e4efa9459525fd18647ed46898f3e692f6515.tar.gz
org.eclipse.mylyn.tasks-b80e4efa9459525fd18647ed46898f3e692f6515.tar.xz
org.eclipse.mylyn.tasks-b80e4efa9459525fd18647ed46898f3e692f6515.zip
NEW - bug 107259: provide preview of task context
https://bugs.eclipse.org/bugs/show_bug.cgi?id=107259
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImages.java4
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java3
2 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImages.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImages.java
index f6aa8486d..19d2534c4 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImages.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImages.java
@@ -100,7 +100,9 @@ public class TaskListImages {
public static final ImageDescriptor PERSON = create(T_TOOL, "person.gif");
public static final ImageDescriptor CONTEXT_ATTACH = create(T_TOOL, "context-attach.gif");
-
+
+ public static final ImageDescriptor CONTEXT_RETRIEVE = create(T_TOOL, "context-retrieve.gif");
+
public static final ImageDescriptor OVERLAY_INCOMMING = create(T_EVIEW, "overlay-incoming.gif");
public static final ImageDescriptor OVERLAY_OUTGOING = create(T_EVIEW, "overlay-outgoing.gif");
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
index cc6aad114..f9a36e5a4 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
@@ -406,9 +406,8 @@ public class TaskEditor extends FormEditor {
setPartName(label);
}
setPageText(index, factory.getTitle());
-// selectedIndex = index;
+ selectedIndex = index;
}
- selectedIndex = index;
}
// HACK: overwrites if multiple present

Back to the top