Bug 118750 Insert group for table from library, system throws exception.
Insert group for table from library, system throws exception. Steps: 1.Insert a tabel from library 2.Insert group Actual Results: 1.System throws exception A Birt exception occurred. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Model Plug-in ID:org.eclipse.birt.report.model Version:1.0.1 Error Code:Error.ContentException.STRUCTURE_CHANGE_FORBIDDEN Error Message:Element "report.Body[1]" is child element or a virtual element( inside the child ), can not change its structure. Expected Results: 1.Can be inserted group
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/TableHandleAdapter.java
{
		if ( !( getModelAdaptHelper( ) instanceof ITableAdapterHelper ) )
		{
			return new Dimension( );
		}
		ITableAdapterHelper tableHelper = (ITableAdapterHelper) getModelAdaptHelper( );
		int columnCount = getColumnCount( );
		int samColumnWidth = 0;
		for ( int i = 0; i < columnCount; i++ )
		{
			samColumnWidth = samColumnWidth
					+ tableHelper.caleVisualWidth( i + 1 );
		}
		int rowCount = getRowCount( );
		int samRowHeight = 0;
		for ( int i = 0; i < rowCount; i++ )
		{
			samRowHeight = samRowHeight + tableHelper.caleVisualHeight( i + 1 );
		}
		return new Dimension( samColumnWidth, samRowHeight ).expand( tableHelper.getInsets( )
				.getWidth( ),
				tableHelper.getInsets( ).getHeight( ) );
	}
	/**
	 * Adjust size of table layout.
	 * 
	 * @param size
	 *            is all figure size
	 * @throws SemanticException
	 */