Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 216176

Summary: [api] resolve api issues regarding usage of TaskDataManager
Product: z_Archived Reporter: Robert Elves <robert.elves>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P2 CC: dennis.rietmann, steffen.pingel
Version: unspecified   
Target Milestone: 3.0   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Robert Elves CLA 2008-01-22 14:19:22 EST
TaskDataManager is being used by other plugins but is internal.
Comment 1 Dennis Rietmann CLA 2008-02-28 19:36:29 EST
As suggested by Rob I am posting my problem here: I'm looking for a way to detect which attributes have changed when a task is  being submitted (e.g. in the TaskDataHandler.postTaskData method) - unfortunately this is not possible with the current api. What would you suggest I should do now instead (unfortunately waiting for 3.0 is not an option)? Thanks a lot for any advice.
Comment 2 Dennis Rietmann CLA 2008-02-29 06:35:42 EST
A way to achieve this would be to call TasksUiPlugin.getTaskDataManager().getEdits since this returns all changed attributes. The downside of it is that I have to add a dependency from my connector's core plug-in to the mylyn.tasks.ui plug-in (not very nice...).
Comment 3 Steffen Pingel CLA 2008-04-11 01:27:58 EDT

*** This bug has been marked as a duplicate of bug 180760 ***