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/metadata/ExtensionModelPropertyDefn.java
public String getName( )
	{
		return extProperty.getName( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.metadata.PropertyDefn#getStructDefn()
	 */
	public IStructureDefn getStructDefn( )
	{
		if ( details instanceof StructureDefn )
			return (StructureDefn) details;
		List members = extProperty.getMembers( );
		if ( members == null )
			return null;
		StructureDefn struct = new StructureDefn( );
		Iterator iter = members.iterator( );
		while ( iter.hasNext( ) )
		{
			IPropertyDefinition prop = (IPropertyDefinition) iter.next( );
			try
			{
				struct.addProperty( new ExtensionStructPropertyDefn( prop ) );
			}
			catch ( MetaDataException e )
			{
				assert false;
				return null;
			}