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.tests/test/org/eclipse/birt/report/model/extension/PeerExtensionTest.java
* @throws Exception
	 */
	public void testWriter( ) throws Exception
	{
		openDesign( FILE_NAME );
		ExtendedItemHandle extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testBox" ); 
		assertNotNull( extendedItem );
		
		PropertyHandle propHandle = extendedItem
				.getPropertyHandle( DETAIL_PROP );
		LabelHandle label = designHandle.getElementFactory( ).newLabel(
				"addLabel" ); 
		propHandle.add( label );
		IDesignElement clonedExtendedItem = extendedItem.copy( );
		designHandle.rename( clonedExtendedItem.getHandle( design ) );
		propHandle.paste( clonedExtendedItem );
		
		ExtendedItemHandle extendedTable = designHandle.getElementFactory( )
				.newExtendedItem( "testExtendedTable", "TestingTable" ); 
		extendedTable.setProperty( TableItem.CAPTION_PROP, "table caption" ); 
		extendedTable.setProperty( TableItem.DATA_SET_PROP, "tableDataSet" ); 
		extendedTable.setProperty( IStyleModel.COLOR_PROP, IColorConstants.RED );
		extendedTable.setProperty( "usage", "testusagevalue" ); 
		designHandle.getBody( ).add( extendedTable );
		save( );
		assertTrue( compareFile( "PeerExtensionTest_golden.xml" ) ); 
	}
	/**
	 * Tests the property search with support of extension slot.