Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2013-04-04 16:57:52 -0400
committerGerrit Code Review @ Eclipse.org2013-04-04 17:33:31 -0400
commit5ffbeddd762a2aebc1f02e74bdbecd02bdf29bdb (patch)
tree5060e43b6a55cfd59708b11e55b285b75ef720ff /org.eclipse.mylyn.tasks.ui/src/org/eclipse
parent2cd3cb02b81a47fb1bd13064ac2aa5280fe37771 (diff)
downloadorg.eclipse.mylyn.tasks-5ffbeddd762a2aebc1f02e74bdbecd02bdf29bdb.tar.gz
org.eclipse.mylyn.tasks-5ffbeddd762a2aebc1f02e74bdbecd02bdf29bdb.tar.xz
org.eclipse.mylyn.tasks-5ffbeddd762a2aebc1f02e74bdbecd02bdf29bdb.zip
404953: no attribute editor for type long
Change-Id: I41cd453b924e9472e5da5e5cae7d8ace16b4edfa Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=404953
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AttributeEditorFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AttributeEditorFactory.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AttributeEditorFactory.java
index 759e83ee5..88eebb988 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AttributeEditorFactory.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AttributeEditorFactory.java
@@ -142,6 +142,8 @@ public class AttributeEditorFactory {
return new DoubleAttributeEditor(model, taskAttribute);
} else if (TaskAttribute.TYPE_INTEGER.equals(type)) {
return new DoubleAttributeEditor(model, taskAttribute);
+ } else if (TaskAttribute.TYPE_LONG.equals(type)) {
+ return new DoubleAttributeEditor(model, taskAttribute);
}
throw new IllegalArgumentException("Unsupported editor type: \"" + type + "\""); //$NON-NLS-1$ //$NON-NLS-2$

Back to the top