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/ElementDefn.java
if ( ( parent == null || !parent.hasStyle( ) ) && hasStyle )
		{
			SystemPropertyDefn prop = new SystemPropertyDefn( );
			prop.setName( IStyledElementModel.STYLE_PROP );
			prop.setType( dd.getPropertyType( IPropertyType.ELEMENT_REF_TYPE ) );
			prop.setDisplayNameID( "Element.ReportElement.style" ); 
			prop.setDetails( MetaDataConstants.STYLE_NAME );
			prop.setIntrinsic( true );
			addProperty( prop );
		}
		
		
		if ( parent != null && parent.allowsUserProperties( ) )
			supportsUserProperties = true;
		
		if ( parent != null && parent.isContainer )
			isContainer = true;
		
		
		if ( isAbstract( ) && parent != null && !parent.isAbstract( ) )
			throw new MetaDataException( new String[]{name, parent.getName( )},
					MetaDataException.DESIGN_EXCEPTION_ILLEGAL_ABSTRACT_ELEMENT );
		
		if ( parent != null )
		{
			if ( nameSpaceID == MetaDataConstants.NO_NAME_SPACE )
				nameSpaceID = parent.getNameSpaceID( );
			else if ( !isExtended( )
					&& parent.getNameSpaceID( ) != MetaDataConstants.NO_NAME_SPACE )
				throw new MetaDataException( new String[]{name},