[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-integrators] How to get TaskData?
|
Hello,
I am writing a new connector for Mylyn 3.0 and Eclipse 3.4 and I have
the same challenge in getTaskData(repository, taskid, iprogressMonitor).
I need to find the existing task or its taskdata for the passed taskid
and I should use only the APIs of "org.eclipse.mylyn.tasks.core". I
haven't found a way to do this. Is it possible?
@Ismail: How can you retrieve the task with the specified taskid?
Thank you in advance
Beyhan
Avin Ismail wrote:
Hello,
How can I extract the TaskData of a specific task? I am trying to
implement getTaskData(repository, taskId, iprogressMonitor) that has to
return a TaskData. Now I can retrieve the task with the specified taskId,
but how can I get the TaskData of that task?
FYI:
in PerformQuery(), I followed the example on
http://wiki.eclipse.org/Mylyn/Porting_Guide/3.0 and created the task as
follows:
TaskData data = createTaskData(repository, id);
TaskMapper mapper = new TaskMapper(data, true);
mapper.setTaskUrl(taskPrefix + id);
mapper.setSummary(description);
mapper.setCreationDate(creationDate);
mapper.setDueDate(dueDate);
resultCollector.accept(data);
Thank you in advance
Avin
_______________________________________________
mylyn-integrators mailing list
mylyn-integrators@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators