Community
Participate
Working Groups
Build ID: I20070625-1500 Steps To Reproduce: 1. Unable to subclass AbstractColumnLayout due to package scope. More information: This request is to open up the API on org.eclipse.jface.layout.AbstractColumnLayout. Currently it and its abstract methods are package scope. This layout is useful for any column-based widget users (Table, Tree or others such as Nebula Grid) that want to take advantage of the pixel-based and weight-based ColumnLayoutData objects. I have been using TableViewer and this layout. I recently switched to Nebula's GridTableViewer and lost the layout support. If AbstractColumnLayout were public, it would be very easy to create a version for the Grid table widget.
*** Bug 217605 has been marked as a duplicate of this bug. ***
Created attachment 88725 [details] Patch
Boris, could you review please.
The class @since of the class has to be @since 3.4
released to CVS HEAD >= 20080220
Verified in build I20080326-1950
Unfortunately, the abstract methods in this class are package private, so there is no practical way to extend this class from a package outside of org.eclipse.jface.layout. Reopening. I'll attach a patch, but I suspect you won't want to make this change in 3.4, especially since there are changes in multiple files to react to the change from package-private to protected.
Created attachment 102746 [details] patch to make abstract methods protected
released to head >= 20090219
(In reply to comment #9) > released to head >= 20090219 Tom, I'm getting several API tooling errors because the methods' visibility went up to "protected". Please rectify them with @since tags.
Comment on attachment 102746 [details] patch to make abstract methods protected The iplog+ flag needs to be applied to the patch, not the whole bug to be processed correctly.
Verified in I20090312-0100 by providing a nebula implementation in bug 268497
Removing iplog+ from bug - this indicates an IP contribution in a comment rather than a patch. http://wiki.eclipse.org/Development_Resources/Automatic_IP_Log