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

Bug 312502

Summary: AbstractAddRowHandler simplification
Product: z_Archived Reporter: Igor Jacy Lino Campista <icampista>
Component: MylynAssignee: Holger Voormann <eclipse>
Status: CLOSED FIXED QA Contact: David Williams <david_williams>
Severity: normal    
Priority: P3 CC: eclipse, florian
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch with the simplification eclipse: iplog+

Description Igor Jacy Lino Campista CLA 2010-05-11 16:14:20 EDT
The abstract class AbstractAddRowHandler in essense addeds a row to the VEX widget.
It does it by managing two lists for one concept (A relation of row to many cells).

A simplication idea is to extract that concept of RowCell and have a unique list.
Comment 1 Igor Jacy Lino Campista CLA 2010-05-11 16:22:35 EDT
Created attachment 168027 [details]
Patch with the simplification

I will check about the test to the logic.
Comment 2 Holger Voormann CLA 2010-05-17 13:04:23 EDT
(In reply to comment #1)
Looks good.

Patch reviewed and applied (with minor changes: RowCells class: => static, fields: => final; getters removed).

Igor, thank you for this contribution.
Comment 3 Holger Voormann CLA 2010-05-17 16:10:01 EDT
(In reply to comment #1)
> I will check about the test to the logic.
>
Sorry, I overlooked your comment. Of course, tests are always welcome and we should have more of them. If you have a test please attach it.
Comment 4 Florian Thienel CLA 2011-06-02 05:23:28 EDT
Closing resolved bugs.
Comment 5 Florian Thienel CLA 2011-11-09 17:36:26 EST
Moved to Mylyn Docs Vex.