Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 153937

Summary: [Preferences] calcNumberOfColumns in org.eclipse.jface.preference.FieldEditorPreferencePage should be protected
Product: [Eclipse Project] Platform Reporter: John J. Barton <johnjbarton>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 Keywords: api, helpwanted
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description John J. Barton CLA 2006-08-15 13:07:37 EDT
FieldEditorPreferencePage formats with GridLayout based on the max number of controls in any field editor added.  Subclasses need to know that max number to adjust say spanning controls to the colunm count.  So the method calcNumberOfColumns should be protected rathter than private.  It just computes a number with no side effects.

Also the javadoc refers to a method "createLayout"; it does not seem to exist.
Comment 1 Tod Creasey CLA 2007-03-14 15:31:03 EDT
API has frozen for 3.3 but if you want to contribute a patch we could consider it for a later release.
Comment 2 Denis Roy CLA 2009-08-30 02:22:42 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.