Bug 122850 Table/list should not be able to be inserted in Master Page mode.
Description: Table/list should not be able to be inserted in Master Page mode. Steps to reproduce: 1. New a report and transfer to Master Page mode. 2. New a datasource and dataset 3. Drag a list/table to page header/footer, bind it to dataset and drag some columns inside. 4. Save and preview Expected result: Insert list/table item in master page should be forbidden. Actual result: They are allowed and preview showed "undefine" in page
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
{
			PropertyHandle propHandle = (PropertyHandle) iter.next( );
			String propName = propHandle.getDefn( ).getName( );
			
			
			
			if ( StyledElement.STYLE_PROP.equals( propName )
					|| DesignElement.EXTENDS_PROP.equals( propName )
					|| DesignElement.USER_PROPERTIES_PROP.equals( propName )
					|| IOdaExtendableElementModel.EXTENSION_ID_PROP
							.equals( propName )
					|| IExtendedItemModel.EXTENSION_NAME_PROP.equals( propName ) )
				continue;
			ElementPropertyDefn propDefn = destination.getElement( )
					.getPropertyDefn( propName );
			if ( propDefn == null )
				continue;
			Object value = null;
			
			
			if ( propHandle.getElement( ) instanceof GroupElement
					&& GroupElement.TOC_PROP.equals( propName ) )
				value = propHandle.getElement( ).getLocalProperty(
						propHandle.getModule( ), propDefn );
			else if ( onlyFactoryProperty )
				value = propHandle.getElement( ).getFactoryProperty(
						propHandle.getModule( ), propDefn );
			else
				value = propHandle.getElement( ).getPropertyExceptRomDefault(
						propHandle.getModule( ), propDefn );