Bug 8027 - [PropertiesView] ComboBoxPropertyDescriptor should allow read-only
Summary: [PropertiesView] ComboBoxPropertyDescriptor should allow read-only
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris McLaren CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-01-22 13:10 EST by Dejan Glozic CLA
Modified: 2002-10-25 10:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Glozic CLA 2002-01-22 13:10:51 EST
There is no way to limit a ComboBoxPropertyDescriptor to a number of provided 
choices. It creates an editable combo box, and users can enter values that are 
not in the provided list. In addition, when a typed value does match one of the 
choices, the return value is still Integer with a value of -1.

1) We should be able to specify that the user must choose from the provided 
choices (read-only)
2) If not read only, the entered value should be checked against the choices 
and if there is match, the correct index should be returned.

This problem causes a PDE bug #6270.
Comment 1 Kevin Haaland CLA 2002-05-30 20:21:56 EDT
Consider as a post 2.0 enhancement. 
Comment 2 Randy Giffen CLA 2002-08-09 11:41:48 EDT
Reopen to investigate
Comment 3 Andrew Irvine CLA 2002-10-25 10:50:38 EDT
ComboBoxPropertyDescriptor was made readonly in build 20021026
See also bug #12329