| Summary: | [api][build] persist column sizes in Builds view | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Steffen Pingel <steffen.pingel> | ||||||||
| Component: | Mylyn | Assignee: | Shawn Minto <shawn.minto> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | Keywords: | noteworthy | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 0.7 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | 324259 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Steffen Pingel
Shawn, can you help out with that? Also, sorting should be supported. I should be able to help with this. We should also look at merging the Table and Tree viewer support that we have since there will be a lot of duplicated code. Created attachment 177988 [details]
initial patch
Steffen, here is an initial patch for adding this support and generalizing it from the TableViewerSupport. It would be great if you could have a look over it. Also, I need to do some testing still with the attachments table to make sure that I didn't break anything during the refactoring.
Created attachment 177989 [details]
mylyn/context/zip
Looks great! The only suggestion I have is to make all methods and super classes of TableViewerSupport and TreeViewerSupport that are not accessed by client code package protected since they don't need to be API. I have changed all of the methods to be package protected or private for now. This is now committed and we now have both table and tree support for column handling. Created attachment 178006 [details]
mylyn/context/zip
I have the impression that the changes broke sorting for attachments, e.g. sorting the attachments on Bug 315921 by creation date does not look right to me. Could you take a look? I think this is fixed now. A return statement was missing where the sort column was determined. I simplified the code a bit using generics. Shawn, please check if that makes sense to you. This is pretty cool stuff :). That looks great! I don't know why I added some generics but not others ;) Marking patch obsolete as changes were committed to Mylyn Commons and not Mylyn Builds. |