Hi Tom, It would be great if you could add this to the use cases:
http://wiki.eclipse.org/Mylyn/Integrator_Reference#Accessing_the_Task_List Mik > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mylyn-integrators- > [EMAIL PROTECTED] On Behalf Of Tom Bryan (tombry) > Sent: Monday, June 23, 2008 6:41 PM > To: Mylyn Integrators list > Subject: RE: [mylyn-integrators] Getting the AbstractTask for the current > activecontext? > > Tom Bryan (tombry) wrote on Monday, June 23, 2008 9:26 PM: > > > how should it get the AbstractTask for the currently active task? > > Of course, as soon as I posted this message, I found a reasonable > solution: > > TasksUiPlugin.getTaskListManager().getTaskList().getActiveTask(); > > I'm not sure why that was so hard for me to find. I guess I was just > expecting to find something in the tasks.core or context.core plug-ins. > I suppose that in normal usage, a task is only ever activated in the UI. > Thus, it shouldn't be a problem for any code that needs to getActiveTask > to depend on org.eclipse.mylyn.tasks.ui. > > -- > Tom Bryan <[EMAIL PROTECTED]> > Software Engineering Solutions (SES) > Cisco Systems > RTP, NC, USA > _______________________________________________ > 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
