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
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
您可以使用其中之一(我通过 找到它NewTaskAction
)
TasksUiUtil.openNewLocalTaskEditor(shell, null);
TasksUiUtil.openNewTaskEditor(shell, null, TasksUiUtil.getSelectedRepository());
TasksUiUtil.openNewTaskEditor(shell, null, null);
TasksUiUtil
在org.eclipse.mylyn.tasks.ui
包中,这是公共 API。Mylyn 没有很好的 Javadocs :-(