Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-11-25 21:08:49 +0000
committerfbecker2010-11-25 21:08:49 +0000
commit27c93bf9056f8ba54c45f6ce2659eee533b61d27 (patch)
tree8a81dfe29dc6cd0f9a4bfe77ff8959ad0ad07b07 /org.eclipse.mylyn.tasks.core
parent1395fa251249e31a2f4e6a4978486b218f3a8872 (diff)
downloadorg.eclipse.mylyn.tasks-27c93bf9056f8ba54c45f6ce2659eee533b61d27.tar.gz
org.eclipse.mylyn.tasks-27c93bf9056f8ba54c45f6ce2659eee533b61d27.tar.xz
org.eclipse.mylyn.tasks-27c93bf9056f8ba54c45f6ce2659eee533b61d27.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/TaskAttribute.java4
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskOperation.java21
2 files changed, 0 insertions, 25 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 1cac00d1f..262763fc7 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
@@ -125,10 +125,6 @@ public final class TaskAttribute {
public static final String META_READ_ONLY = "task.meta.readOnly"; //$NON-NLS-1$
- public static final String META_UNCONFIRMED_ALLOWED = "task.meta.unconfirmedAllowed"; //$NON-NLS-1$
-
- public static final String META_TOOL_TIP = "task.meta.toolTip"; //$NON-NLS-1$
-
public static final String NEW_ATTACHMENT = "task.common.new.attachment"; //$NON-NLS-1$
// XXX merge with USER_CC
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 961427d55..e44d8262d 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
@@ -24,18 +24,8 @@ public class TaskOperation {
* @since 3.0
*/
public static void applyTo(TaskAttribute taskAttribute, String operationId, String label) {
- applyTo(taskAttribute, operationId, label, null);
- }
-
- /**
- * @since 3.5
- */
- public static void applyTo(TaskAttribute taskAttribute, String operationId, String label, String toolTip) {
TaskData taskData = taskAttribute.getTaskData();
taskData.getAttributeMapper().setValue(taskAttribute, operationId);
- if (toolTip != null) {
- taskAttribute.getMetaData().defaults().putValue(TaskAttribute.META_TOOL_TIP, toolTip);
- }
taskAttribute.getMetaData().defaults().setType(TaskAttribute.TYPE_OPERATION).setLabel(label);
}
@@ -49,7 +39,6 @@ public class TaskOperation {
taskData.getTaskId(), taskAttribute.getValue());
operation.setLabel(taskAttribute.getMetaData().getLabel());
operation.setTaskAttribute(taskAttribute);
- operation.setTooltip(taskAttribute.getMetaData().getValue(TaskAttribute.META_TOOL_TIP));
return operation;
}
@@ -65,8 +54,6 @@ public class TaskOperation {
private final String taskId;
- private String tooltip;
-
/**
* @since 3.0
*/
@@ -172,12 +159,4 @@ public class TaskOperation {
this.taskAttribute = taskAttribute;
}
- public String getTooltip() {
- return tooltip;
- }
-
- public void setTooltip(String tooltip) {
- this.tooltip = tooltip;
- }
-
}

Back to the top