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
Hi!

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?


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


Current Time: Sun Dec 21 03:31:12 GMT 2014

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

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