Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2009-07-28 20:03:23 -0400
committermkersten2009-07-28 20:03:23 -0400
commit7e6e136c1e6ea4e29fea440e7dfa70a6e3a2e470 (patch)
treec4d39295f6c2fdd266dfa99823b0b950387e2d14 /org.eclipse.mylyn.tasks.core
parent98d6bcc46b3e71ba8e173d167c15201744b0c205 (diff)
downloadorg.eclipse.mylyn.tasks-7e6e136c1e6ea4e29fea440e7dfa70a6e3a2e470.tar.gz
org.eclipse.mylyn.tasks-7e6e136c1e6ea4e29fea440e7dfa70a6e3a2e470.tar.xz
org.eclipse.mylyn.tasks-7e6e136c1e6ea4e29fea440e7dfa70a6e3a2e470.zip
REOPENED - bug 284155: support overlay of product and component on attributes section header
https://bugs.eclipse.org/bugs/show_bug.cgi?id=284155
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java3
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMapper.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java
index 2065ee90e..69f3a282c 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java
@@ -452,6 +452,9 @@ public final class TaskAttribute {
return taskData;
}
+ /**
+ * @return empty String if not available
+ */
public String getValue() {
if (values.size() > 0) {
return values.get(0);
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMapper.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMapper.java
index 98e5c31c9..989efb410 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMapper.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMapper.java
@@ -174,6 +174,9 @@ public class TaskAttributeMapper {
return taskRepository;
}
+ /**
+ * @return empty String if not available
+ */
public String getValue(TaskAttribute taskAttribute) {
return taskAttribute.getValue();
}

Back to the top