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
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.views.properties;
import org.eclipse.jface.util.Assert;
import org.eclipse.jface.viewers.*;
import org.eclipse.swt.widgets.Composite;
/**
 * Standard implementation for property descriptors.
 * <p>