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
return validator;
}
/**
 * The <code>SimplePropertyDescriptor</code> implementation of this 
 * <code>IPropertyDescriptor</code> method returns true if the other
 * property has the same id and category and <code>getAlwaysIncompatible()</code>
 * returns false
 */
public boolean isCompatibleWith(IPropertyDescriptor anotherProperty) {
	if (getAlwaysIncompatible()) 
		return false;
			
	Object id1 = getId();
	Object id2 = anotherProperty.getId();
	if (!id1.equals(id2))
		return false;
	
	if (getCategory() == null) {
		if (anotherProperty.getCategory() != null)
			return false;
	} else {
		if (!getCategory().equals(anotherProperty.getCategory()))
			return false;
	}
	return true;
}
/**
 * Sets a flag indicating whether this property descriptor is to be always 
 * considered incompatible with any other property descriptor.
 * Setting this flag prevents a property from displaying during multiple