Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Query TaskRepository for Resource
Query TaskRepository for Resource [message #595957] Mon, 02 February 2009 13:56
Christoph Mayerhofer is currently offline Christoph MayerhoferFriend
Messages: 5
Registered: July 2009
Junior Member

I would like to create a new task programmatically. I would like to use
the task repository which is configured for the project.

TaskRepository repo =
TasksUiPlugin.getDefault().getRepositoryForResource(project) ;

ITaskMapping mapping = new TaskMapping() {
// my own task mapping implementation

TasksUiUtil.openNewTaskEditor(shell, mapping, repo);

The TasksUiPlugin class is internal, is there a public api which can be
used to query the TaskRepository for a resource?

Previous Topic:Bugzilla connector fails after Mylyn update 3.0.4
Next Topic:Jira Hyperlinks in Code
Goto Forum:

Current Time: Wed Jun 20 19:20:47 GMT 2018

Powered by FUDForum. Page generated in 0.02108 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top