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/core/DesignElement.java
ArrayList propMasks = (ArrayList) getLocalProperty( module,
				PROPERTY_MASKS_PROP );
		if ( propMasks != null )
		{
			ListIterator masks = propMasks.listIterator( );
			while ( masks.hasNext( ) )
			{
				PropertyMask mask = (PropertyMask) masks.next( );
				errors.addAll( mask.validate( module, this ) );
			}
		}
		return errors;
	}
	/**
	 * Checks all structures in the specific property whose type is structure
	 * list property type. This method is used for element semantic check. The
	 * error is kept in the report design's error list.
	 * 
	 * @param module
	 *            the module
	 * @param propName
	 *            the name of the structure list type
	 * @return the list of the errors found in validation, each of which is the
	 *         <code>SemanticException</code> object.
	 */
	protected List validateStructureList( Module module, String propName )
	{
		return StructureListValidator.getInstance( ).validate( module, this,
				propName );