Bug 120317 Set "dimension" property to 3D in "properties" view, error appears in layout editor.
Description: Set "dimension" property to 3D in "properties" view, error appears in layout editor. Steps to reproduce: 1. Add a 2D chart in property editor. 2. Set its dimension property to "three-dimension" in properties view. 3. Error appears in chart.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/PropertyHandle.java
import org.eclipse.birt.report.model.metadata.PropertyDefn;
import org.eclipse.birt.report.model.metadata.PropertyType;
import org.eclipse.birt.report.model.metadata.ReferenceValue;
import org.eclipse.birt.report.model.util.ReferenceValueUtil;
/**
 * A handle for working with a top-level property of an element.
 * 
 * @see org.eclipse.birt.report.model.metadata.PropertyDefn
 * @see org.eclipse.birt.report.model.metadata.PropertyType
 */
public class PropertyHandle extends SimpleValueHandle
{
	/**
	 * Definition of the property.
	 */
	protected ElementPropertyDefn propDefn;
	/**
	 * Constructs the handle for a top-level property with the given element
	 * handle and property name.
	 * 
	 * @param element
	 *            a handle to a report element
	 * @param propName
	 *            the name of the property
	 */
	public PropertyHandle( DesignElementHandle element, String propName )
	{
		super( element );
		propDefn = element.getElement( ).getPropertyDefn( propName );
	}