This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 195226 - Introduce public ETableColumnModel.clean() method.
Summary: Introduce public ETableColumnModel.clean() method.
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2011-02-09 10:11 UTC by Martin Entlicher
Modified: 2011-03-04 05:40 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:

The API change. (3.55 KB, patch)
2011-02-09 10:24 UTC, Martin Entlicher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2011-02-09 10:11:28 UTC
The ETableColumnModel contains both visible and invisible columns.
It provides the visible ones through getColumns() method, but there's no way to obtain the invisible ones and therefore no way to clean the model from all columns. The cleaning is necessary for proper refresh when all columns are changed and not doing so results in bugs like issue #194028.

Therefore it's proposed to add public void ETableColumnModel.clean() method.
Comment 1 Martin Entlicher 2011-02-09 10:24:26 UTC
Created attachment 105786 [details]
The API change.
Comment 2 Martin Entlicher 2011-02-09 10:26:29 UTC
Please review this simple API change.
Comment 3 Jaroslav Tulach 2011-02-09 16:43:14 UTC
Y01 You may want to make the method final.
Comment 4 Martin Entlicher 2011-03-03 15:34:28 UTC
Thanks for the review, I'm going to integrate it...
Comment 5 Martin Entlicher 2011-03-03 15:41:06 UTC
Implemented by changeset:   189981:8cb85edc2c97
Comment 6 Quality Engineering 2011-03-04 05:40:56 UTC
Integrated into 'main-golden', will be available in build *201103040000* on (upload may still be in progress)
Log: #195226 ETableColumnModel.clean() method introduced.