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/util/ElementStructureUtil.java
module, element, parent );
		if ( element instanceof TableItem )
		{
			( (TableItem) element ).refreshRenderModel( module );
		}
		return result;
	}
	/**
	 * Returns the id reference relationship between the parent element and the
	 * child element.
	 * <p>
	 * Notice: the element and its parent should have the same structure when
	 * calling this method. That is the child structure has already been
	 * refreshed from parent.
	 * 
	 * @param module
	 * 
	 * @param element
	 *            the element to setup the id reference
	 * @return a map to store the base id and the corresponding child element.
	 */
	public static Map getIdMap( Module module, DesignElement element )
	{
		assert element != null;
		
		DesignElement parent = element.getExtendsElement( );
		if ( parent == null )
			return Collections.EMPTY_MAP;
		Map idMap = new HashMap( );
		Iterator parentIter = new ContentIterator( module, parent );