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
{
		Object value = propValues.get( prop.getName( ) );
		assert value == null || value instanceof ElementRefValue;
		if ( value == null || module == null )
			return (ElementRefValue) value;
		ElementRefValue ref = (ElementRefValue) value;
		if ( ref.isResolved( ) )
			return ref;
		
		
		
		
		
		
		ElementRefPropertyType refType = (ElementRefPropertyType) prop
				.getType( );
		refType.resolve( module, prop, ref );
		if ( ref.isResolved( ) )
			ref.getTargetElement( ).addClient( this, prop.getName( ) );
		return ref;
	}
	/**
	 * Resolves a property structure reference. The reference is the value of a
	 * property of type property structure reference.
	 * 
	 * @param module
	 *            the module information needed for the check, and records any
	 *            errors
	 * @param prop
	 *            the property whose type is structure reference