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
* @return true if it can be transformed, otherwise false.
	 */
	public final boolean canTransformToTemplate( Module module )
	{
		
		
		if ( !ModelUtil.isTemplateSupported( this ) || ( !canDrop( module ) ) )
			return false;
		
		IElementDefn templateReportItem = MetaDataDictionary.getInstance( )
				.getElement( ReportDesignConstants.TEMPLATE_REPORT_ITEM );
		IElementDefn templateDataSet = MetaDataDictionary.getInstance( )
				.getElement( ReportDesignConstants.TEMPLATE_DATA_SET );
		DesignElement container = getContainer( );
		if ( container != null )
		{
			ContainerContext containerInfor = getContainerInfo( );
			return containerInfor.canContain( module, templateReportItem )
					|| containerInfor.canContain( module, templateDataSet );
		}
		return true;
	}
	/**
	 * Checks whether this element is based on a template parameter definition
	 * or not.
	 * 
	 * @param module
	 *            the root module
	 * @return true if this element is based on a template parameter definition,
	 *         otherwise false