Project: Eclipse_Platform_UI
Bug 166236 [Viewers] ViewerColumn needs a dispose method
Reported: 2006-11-29 13:31:18 | Status: verified fixed

ViewerColumn adds a listener to its label provider which is never removed. We need a dispose method that removes the listener. Furthermore, if the column's label provider wraps a non-column-specific label provider, the viewer is already listening to it and the viewer column shouldn't. Must be fixed before the next I build.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ColumnViewer.java bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ViewerColumn.java tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/AllTests.java tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/tests/MocksTest.java tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/Mocks.java tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/SimpleTableViewerTest.java