Project: Eclipse_Platform_UI
Bug 21013 [PropertiesView] ComboBoxPropertyDescriptor should provide a defualt label provider
Reported: 2002-06-26 12:19:49 | Status: closed fixed

ComboBoxPropertyDescriptor requires an array of string values in its contructor. These are used to display in the combo box cell editor. Typically clients must also supply a label provider with the same array of values in order to show the correct value when the cell editor is not active. The descriptor should create a default label provider based on the values passed in its constructor.

Files changed in fix:
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/ComboBoxLabelProvider.java bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/ComboBoxPropertyDescriptor.java bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertyDescriptor.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/ComboBoxPropertyDescriptorTest.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/PropertySheetTestSuite.java