Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-06-13 17:16:08 -0400
committermkersten2007-06-13 17:16:08 -0400
commita034ef883c5d85e8253d7f80c800ac175774b279 (patch)
treef8a0cf4291438c26e4791f36ab460a47831da4f8 /org.eclipse.mylyn.trac.ui
parent7e6f29070580781e54e4af0838ef8ed4da18b4bc (diff)
downloadorg.eclipse.mylyn.tasks-a034ef883c5d85e8253d7f80c800ac175774b279.tar.gz
org.eclipse.mylyn.tasks-a034ef883c5d85e8253d7f80c800ac175774b279.tar.xz
org.eclipse.mylyn.tasks-a034ef883c5d85e8253d7f80c800ac175774b279.zip
NEW - bug 124321: [api] merge local tasks with repository tasks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=124321
Diffstat (limited to 'org.eclipse.mylyn.trac.ui')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java6
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java
index 39df12532..c334e00b5 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java
@@ -28,7 +28,7 @@ import org.eclipse.mylyn.internal.trac.ui.wizard.TracCustomQueryPage;
import org.eclipse.mylyn.internal.trac.ui.wizard.TracRepositorySettingsPage;
import org.eclipse.mylyn.tasks.core.AbstractRepositoryQuery;
import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.AbstractTaskListElement;
+import org.eclipse.mylyn.tasks.core.AbstractTaskContainer;
import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.ui.AbstractRepositoryConnectorUi;
@@ -113,8 +113,8 @@ public class TracRepositoryUi extends AbstractRepositoryConnectorUi {
}
@Override
- public List<AbstractTaskListElement> getLegendItems() {
- List<AbstractTaskListElement> legendItems = new ArrayList<AbstractTaskListElement>();
+ public List<AbstractTaskContainer> getLegendItems() {
+ List<AbstractTaskContainer> legendItems = new ArrayList<AbstractTaskContainer>();
TracTask defect = new TracTask("", Kind.DEFECT.name(), Kind.DEFECT.toString());
defect.setKind(Kind.DEFECT.toString());
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java
index ef6c0e956..3dd1fbb16 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java
@@ -16,7 +16,7 @@ import org.eclipse.mylyn.internal.trac.core.TracRepositoryQuery;
import org.eclipse.mylyn.internal.trac.core.TracTask;
import org.eclipse.mylyn.tasks.core.AbstractRepositoryQuery;
import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.AbstractTaskListElement;
+import org.eclipse.mylyn.tasks.core.AbstractTaskContainer;
import org.eclipse.mylyn.tasks.core.DelegatingTaskExternalizer;
import org.eclipse.mylyn.tasks.core.AbstractTask;
import org.eclipse.mylyn.tasks.core.TaskExternalizationException;
@@ -67,7 +67,7 @@ public class TracTaskExternalizer extends DelegatingTaskExternalizer {
@Override
public AbstractTask createTask(String repositoryUrl, String taskId, String summary, Element element, TaskList taskList,
- AbstractTaskListElement category, AbstractTask parent) throws TaskExternalizationException {
+ AbstractTaskContainer category, AbstractTask parent) throws TaskExternalizationException {
TracTask task = new TracTask(repositoryUrl, taskId, summary);
return task;
}

Back to the top