Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-11-05 07:16:25 -0500
committerspingel2009-11-05 07:16:25 -0500
commit9994cae2bd0bd1a1ff10251ba40a306e425826d9 (patch)
tree3d0a9ebd22c546224e39250135a91597afa530c0
parentd66356e417767313fbbc885213438765d52fecbf (diff)
downloadorg.eclipse.mylyn.tasks-9994cae2bd0bd1a1ff10251ba40a306e425826d9.tar.gz
org.eclipse.mylyn.tasks-9994cae2bd0bd1a1ff10251ba40a306e425826d9.tar.xz
org.eclipse.mylyn.tasks-9994cae2bd0bd1a1ff10251ba40a306e425826d9.zip
NEW - bug 204020: [web connector] Owner and Type values seem to be ignored, or are not displayed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=204020
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java6
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties1
3 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java
index b44f96ffe..78a1388e5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/Messages.java
@@ -71,6 +71,8 @@ public class Messages extends NLS {
public static String TaskListToolTip_Active_X;
+ public static String TaskListToolTip_Assigned_to_X;
+
public static String TaskListToolTip_Automatic_container_for_all_local_tasks;
public static String TaskListToolTip_Automatic_container_for_repository_tasks;
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java
index f72ae4617..f3301e920 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java
@@ -219,6 +219,12 @@ public class TaskListToolTip extends GradientToolTip {
sb.append("]"); //$NON-NLS-1$
sb.append("\n"); //$NON-NLS-1$
+ String owner = ((ITask) element).getOwner();
+ if (owner != null) {
+ sb.append(NLS.bind(Messages.TaskListToolTip_Assigned_to_X, owner));
+ sb.append("\n"); //$NON-NLS-1$
+ }
+
String extendedToolTipInfo = task.getAttribute(ITasksCoreConstants.ATTRIBUTE_TASK_EXTENDED_TOOLTIP);
if (extendedToolTipInfo != null && extendedToolTipInfo.length() > 0) {
sb.append(extendedToolTipInfo);
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties
index c9526addb..2bd1f50b5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/messages.properties
@@ -36,6 +36,7 @@ TaskListSorter_Catagory_and_Repository=Category and Repository
TaskListSorter_No_Grouping=None
TaskListToolTip_Active_X=Active: {0}
+TaskListToolTip_Assigned_to_X=Assigned to {0}
TaskListToolTip_Automatic_container_for_all_local_tasks=Automatic container for all local tasks\nwith no category set
TaskListToolTip_Automatic_container_for_repository_tasks=Automatic container for repository tasks\nnot matched by any query
TaskListToolTip_Due=Due: {0}, {1} ({2})

Back to the top