Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-12-10 22:28:32 +0000
committerfbecker2010-12-10 22:28:32 +0000
commite6167f6fbfdfd2424dbaed4aa473dd4545d14933 (patch)
tree164a075185a09d359dd25fd63b4425c6d4cd5e0c /org.eclipse.mylyn.tasks.core
parent14101ca6a5f72e48e7ce1b5d64cb1965af44e528 (diff)
downloadorg.eclipse.mylyn.tasks-e6167f6fbfdfd2424dbaed4aa473dd4545d14933.tar.gz
org.eclipse.mylyn.tasks-e6167f6fbfdfd2424dbaed4aa473dd4545d14933.tar.xz
org.eclipse.mylyn.tasks-e6167f6fbfdfd2424dbaed4aa473dd4545d14933.zip
ASSIGNED - bug 329164: Bugzilla 4.0 - New Default Status Workflow
https://bugs.eclipse.org/bugs/show_bug.cgi?id=329164
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMetaData.java2
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskOperation.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMetaData.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMetaData.java
index 2828bc629..fa90be36d 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMetaData.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttributeMetaData.java
@@ -40,6 +40,8 @@ public class TaskAttributeMetaData {
setKind(null);
setReadOnly(true);
setType(TaskAttribute.TYPE_SHORT_TEXT);
+ // only for test
+ putValue(TaskAttribute.META_DESCRIPTION, "Tooltip Defaul Text"); //$NON-NLS-1$
return this;
}
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskOperation.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskOperation.java
index e44d8262d..dd53316c6 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskOperation.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskOperation.java
@@ -26,7 +26,7 @@ public class TaskOperation {
public static void applyTo(TaskAttribute taskAttribute, String operationId, String label) {
TaskData taskData = taskAttribute.getTaskData();
taskData.getAttributeMapper().setValue(taskAttribute, operationId);
- taskAttribute.getMetaData().defaults().setType(TaskAttribute.TYPE_OPERATION).setLabel(label);
+ taskAttribute.getMetaData().defaults().setType(TaskAttribute.TYPE_OPERATION).setLabel(label).setReadOnly(false);
}
/**

Back to the top