Bug 21013 [PropertiesView] ComboBoxPropertyDescriptor should provide a defualt label provider
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.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertyDescriptor.java
}
/**
 * Sets the label provider for this property descriptor.
 * <p>
 * If no label provider is set an instance of <code>LabelProvider</code>
 * will be created as the default when needed.
 * </p>
 * 
 * @param labelProvider the label provider for the descriptor, or 
 *   <code>null</code> if the default label provider should be used
 * @see #getLabelProvider
 */
public void setLabelProvider(ILabelProvider provider) {
	labelProvider = provider;
}
/**
 * Sets the input validator for the cell editor for this property descriptor.
 * <p>
 * [Issue: This method should be unnecessary is the cell editor's own
 *  validator is used.
 * ]
 * </p>
 * 
 * @param validator the cell input validator, or <code>null</code> if none
 */
public void setValidator(ICellEditorValidator validator) {
	this.validator = validator;
}
}