Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/PropertyDefn.java
public IElementDefn getTargetElementType( )
	{
		if ( details instanceof ElementDefn )
			return (ElementDefn) details;
		return null;
	}
	/**
	 * Returns the allowed choices for this property. It contains allowed
	 * choices for a choice type, or containing an allowed units set for a
	 * dimension type.
	 * <p>
	 * If a property has not defined the restriction, then whole set will be
	 * returned.
	 * 
	 * @return Returns the allowed choices of this property.
	 */
	public IChoiceSet getAllowedChoices( )
	{
		if ( allowedChoices != null )
			return allowedChoices;
		if ( getTypeCode( ) == IPropertyType.DIMENSION_TYPE )
			return MetaDataDictionary.getInstance( ).getChoiceSet(
					DesignChoiceConstants.CHOICE_UNITS );
		return getChoices( );
	}
	/**
	 * Sets the allowed choices for this property
	 * 
	 * @param allowedChoices
	 *            The allowed choices to set.