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

Bug 206698

Summary: [api] provide mechanism for adding AttributeContainer to RepositoryTaskData
Product: z_Archived Reporter: Baybora Aksoy <berbay>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: mjmeijer, robert.elves, shawn.minto, steffen.pingel
Version: 2.0   
Target Milestone: 3.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 226822    

Description Baybora Aksoy CLA 2007-10-17 18:53:25 EDT
Build ID: M20070921-1145

Steps To Reproduce:
RepositoryTaskData allows definition of custom attributes. However, there is no support for adding an attribute container. It would be great, for a mylyn integrator, if there is support for adding an attribute container (like RepositoryAttachment, TaskComment) to RepositoryTaskData.

More information:
Comment 1 Mik Kersten CLA 2007-10-18 17:32:04 EDT
Rob: thoughts?
Comment 2 Robert Elves CLA 2007-11-14 19:07:28 EST
This seems like a good idea since it could get very ugly when trying to store complex data structures within the RepositoryTaskData. This would help clean things up.

Note to self: add this capability to RepositoryTaskData, not AttributeContainer to avoid cycles issue
Comment 3 maarten meijer CLA 2008-03-27 04:46:06 EDT
bug 224009: [api] make all task data externalization classes final
https://bugs.eclipse.org/bugs/show_bug.cgi?id=224009

May make this impossible.
Also foresee problems due to current deepCopy() using (de)serialization.
Comment 4 Steffen Pingel CLA 2008-04-12 22:06:03 EDT
*** Bug 193225 has been marked as a duplicate of this bug. ***
Comment 5 Steffen Pingel CLA 2008-04-26 00:40:30 EDT
Done. The TaskData class which supersedes RepositoryTaskData now has a root attribute of type TaskAttribute. Objects of type TaskAttribute can contain other TaskAttribute object which are can be created by invoking TaskAttribute.createAttribute().