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/core/DesignElement.java
IElementDefn defn = getDefn( );
		if ( parent == null )
		{
			throw new InvalidParentException( this, extendsName,
					InvalidParentException.DESIGN_EXCEPTION_PARENT_NOT_FOUND );
		}
		else if ( parent.getDefn( ) != defn )
		{
			throw new WrongTypeException( this, parent,
					WrongTypeException.DESIGN_EXCEPTION_WRONG_TYPE );
		}
		else if ( parent == this )
		{
			throw new CircularExtendsException( this, extendsName,
					CircularExtendsException.DESIGN_EXCEPTION_SELF_EXTEND );
		}
		else if ( parent.isKindOf( this ) )
		{
			throw new CircularExtendsException( this, parent,
					CircularExtendsException.DESIGN_EXCEPTION_CIRCULAR );
		}
		
		else if ( !( (ElementDefn) getDefn( ) ).getContainmentProperties( )
				.isEmpty( ) )
		{
			throw new ExtendsForbiddenException(
					this,
					parent,
					ExtendsForbiddenException.DESIGN_EXCEPTION_EXTENDS_FORBIDDEN );
		}