1

I want to create Mylyn tasks through code. I searched for Mylyn javadoc but could not find anything relevant. Any help on this would be highly appreciated.

Thanks

4

1 回答 1

2

您可以使用其中之一(我通过 找到它NewTaskAction

TasksUiUtil.openNewLocalTaskEditor(shell, null);

TasksUiUtil.openNewTaskEditor(shell, null, TasksUiUtil.getSelectedRepository());

TasksUiUtil.openNewTaskEditor(shell, null, null);

TasksUiUtilorg.eclipse.mylyn.tasks.ui包中,这是公共 API。Mylyn 没有很好的 Javadocs :-(

于 2011-07-13T07:26:13.290 回答