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

Bug 161083

Summary: [Preferences] ComboFieldEditor doesn't follow general FieldEditor contract
Product: [Eclipse Project] Platform Reporter: Christophe Felix-Henry <cfelixhenry>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Herve.Poirier, juri.albert
Version: 3.3Keywords: api, helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch to add the setEnabled() method none

Description Christophe Felix-Henry CLA 2006-10-16 11:57:54 EDT
The method getComboBoxControl(Composite parent) is private,
but it should be public as it is for the other FieldEditors.
For exemple StringFieldEditor.getTextControl(Composite parent).


May be it is also missing a method setEntryNameAndValues(String[][]) to
dynamically change the content of the Combo.
Comment 1 Tod Creasey CLA 2007-03-14 15:35:40 EDT
There are currently no plans for the Platform team to implement this feature.
Comment 2 Herve Poirier CLA 2007-12-04 05:15:38 EST
Created attachment 84398 [details]
Patch to add the setEnabled() method
Comment 3 Herve Poirier CLA 2007-12-04 05:18:50 EST
Could you also add the setEnabled() method as in the other FieldEditor, so that
the setEnabled(false) disable also the combo box. (see previous attachement)
Comment 4 Denis Roy CLA 2009-08-30 02:25:27 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.
Comment 5 Juri A. CLA 2010-07-07 11:33:29 EDT
Please explain the reason, why it was decided to leave the implementation unchanged? From my perspective it's not a feature, but a bug which needs to be adressed sooner or later.

(In reply to comment #1)
> There are currently no plans for the Platform team to implement this feature.