Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2007-07-17 22:32:53 +0000
committerspingel2007-07-17 22:32:53 +0000
commitd47a13205051b50c06279b82f28dceec17803ec9 (patch)
tree95279a801adc394f68a5d1de00a80161698f5137 /org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor
parente83bff4f3e00c3a0c6c9fba5c3a2564c4d59c3ec (diff)
downloadorg.eclipse.mylyn.tasks-d47a13205051b50c06279b82f28dceec17803ec9.tar.gz
org.eclipse.mylyn.tasks-d47a13205051b50c06279b82f28dceec17803ec9.tar.xz
org.eclipse.mylyn.tasks-d47a13205051b50c06279b82f28dceec17803ec9.zip
NEW - bug 196643: No list of users to choose from in rich task entry form
https://bugs.eclipse.org/bugs/show_bug.cgi?id=196643
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java
index 975aa0085..6d2a23cbb 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java
@@ -8,6 +8,9 @@
package org.eclipse.mylyn.internal.trac.ui.editor;
+import org.eclipse.mylyn.internal.trac.core.TracAttributeFactory;
+import org.eclipse.mylyn.tasks.core.RepositoryOperation;
+import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.ui.editors.AbstractRenderingEngine;
import org.eclipse.mylyn.tasks.ui.editors.AbstractRepositoryTaskEditor;
@@ -38,4 +41,14 @@ public class TracTaskEditor extends AbstractRepositoryTaskEditor {
return repository;
}
+ @Override
+ protected boolean hasContentAssist(RepositoryTaskAttribute attribute) {
+ return TracAttributeFactory.Attribute.NEW_CC.getTaskKey().equals(attribute.getId());
+ }
+
+ @Override
+ protected boolean hasContentAssist(RepositoryOperation repositoryOperation) {
+ return "owner".equals(repositoryOperation.getInputName());
+ }
+
}

Back to the top