[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-integrators] Adding content to a new task before it opens
|
Hey John,
With my testing, this works to set the notes:
AbstractTask task =
TasksUiPlugin.getTaskListManager().createNewLocalTask(title);
if (task != null){
task.setNotes("this is a test");
TasksUiUtil.openEditor(task, true);
}
Hope this helps
Shawn
On 10/25/07, John Anvik <janvik@xxxxxxxxxx> wrote:
> I would like to add some information to a new task before it opens.
> I tried catching the open event using a PartListener, but of course that
> didn't work (at least the text that I inserted using
> AbstractTask.setNotes() didn't work).
>
> How do I catch the creation of a task editor event so that I can
> add some information to a new task before the editor opens?
>
> Pointers to code or tutorials also accepted. :)
>
> John Anvik
> _______________________________________________
> mylyn-integrators mailing list
> mylyn-integrators@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
>
--
Shawn Minto
sminto@xxxxxxxxx
----------------------------------------