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/api/ElementFactoryTest.java
element = factory.newElement(
				ReportDesignConstants.SIMPLE_MASTER_PAGE_ELEMENT, null );
		assertTrue( element instanceof SimpleMasterPageHandle );
		element = factory
				.newElement( ReportDesignConstants.STYLE_ELEMENT, null );
		assertTrue( element instanceof StyleHandle );
		element = factory.newElement(
				ReportDesignConstants.TABLE_GROUP_ELEMENT, null );
		assertTrue( element instanceof TableGroupHandle );
		element = factory.newElement( ReportDesignConstants.TABLE_ITEM, null );
		assertTrue( element instanceof TableHandle );
		element = factory.newElement( ReportDesignConstants.TEXT_ITEM, null );
		assertTrue( element instanceof TextItemHandle );
		
		element = factory.newElement( ReportDesignConstants.TEXT_ITEM,
				"text item" ); 
		assertEquals( "text item", element.getName( ) ); 
	}
	/**
	 * Test new element from
	 * 
	 * @throws Exception
	 * 
	 * @throws Exception
	 */
	public void testNewElementFrom( ) throws Exception
	{
		openDesign( "ElementFactoryTest_1.xml" ); 
		LibraryHandle libHandle = designHandle.getLibrary( "Lib3" ); 
		LabelHandle baseLabelHandle = (LabelHandle) libHandle.getComponents( )