Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nattable-dev] column group commands

Hi all,

I checked in some changes to allow you to remove and rename column groups:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=383554 - Ungroup columns via column group
https://bugs.eclipse.org/bugs/show_bug.cgi?id=383553 - Rename group headers

The column group example has been modified so that right-clicking on a column group header will expose these new options. The implementation of the column group rename wasn't that big of a deal. The much bigger deal was the refactoring of the column group model api that came along as part of this.

The previous api hid the ColumnGroup objects and had a ton of pass-through methods for everything. That resulted in a bloated api, which in turn begat redundant methods, inconsistent naming, and other badness. I exposed the ColumnGroup, which is actually a pretty crucial thing to know about when dealing with the column group model, and removed a bunch of pass-through methods. I had to touch a lot of code to make these changes (all in the column group code tho). All the tests pass, but this is still an area that bears some watching. Also, the api can still use some additional cleaning up. I'm going to hold off on that now because it would result in a great deal more code change and we're close to a release.

Edwin

Back to the top