The TasksUiUtil.openTask(taskRepository, taskId) method returns false if the task isn't in the tasklist without error.
If it is in the tasklist the method returns true and it opens the task. I'm using this method in my WizardPage. Thks pasquy > Date: Thu, 3 May 2012 15:31:24 +0300 > From: [email protected] > To: [email protected] > Subject: Re: [mylyn-integrators] [mylyn-dev] Display task detail > > On Thu, May 3, 2012 at 10:35 AM, pasquale vitale > <[email protected]> wrote: > > Thanks Robert, > > it works! > > > > TasksUiUtil.openTask(taskRepository, taskId) works if the task is in the > > task list. > > There is a way to open a task when the task isn't in the task list. > > Did it fail for you? I'm using it in the ReviewBoard connector > > https://github.com/rombert/ereviewboard/blob/master/org.review_board.ereviewboard.subclipse.ui/src/org/review_board/ereviewboard/subclipse/internal/wizards/PostReviewRequestWizard.java#L159 > > Robert > > > > > Thank you > > pasquy > > > >> Date: Wed, 2 May 2012 18:08:59 +0300 > >> From: [email protected] > >> To: [email protected] > >> CC: [email protected]; > >> [email protected] > >> Subject: Re: [mylyn-integrators] [mylyn-dev] Display task detail > > > >> > >> On Wed, May 2, 2012 at 6:02 PM, pasquale vitale > >> <[email protected]> wrote: > >> > Hi all, > >> > I want to open my task detail (by Id) from my wizard instead of task > >> > list. > >> > >> org.eclipse.mylyn.tasks.ui.TasksUiUtil should help > >> > >> Robert > >> > >> > > >> > How can do it? > >> > > >> > Thank you for your time. > >> > pasquy > >> > > >> > _______________________________________________ > >> > mylyn-dev mailing list > >> > [email protected] > >> > https://dev.eclipse.org/mailman/listinfo/mylyn-dev > >> > > >> > >> > >> > >> -- > >> Sent from my (old) computer > >> _______________________________________________ > >> mylyn-integrators mailing list > >> [email protected] > >> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > > > > _______________________________________________ > > mylyn-integrators mailing list > > [email protected] > > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > > > > > > -- > Sent from my (old) computer > _______________________________________________ > mylyn-integrators mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
_______________________________________________ mylyn-integrators mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
