diff options
author | Sam Davis | 2013-04-04 20:57:52 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2013-04-04 21:33:31 +0000 |
commit | 5ffbeddd762a2aebc1f02e74bdbecd02bdf29bdb (patch) | |
tree | 5060e43b6a55cfd59708b11e55b285b75ef720ff | |
parent | 2cd3cb02b81a47fb1bd13064ac2aa5280fe37771 (diff) | |
download | org.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
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AttributeEditorFactory.java | 2 |
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$ |