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/api/elements/SemanticError.java
{
			assert oaMessageArguments != null;
			if ( oaMessageArguments[1] == null
					|| StringUtil.isBlank( oaMessageArguments[1].toString( ) ) )
			{
				return ModelMessages.getMessage( sResourceKey,
						new String[]{(String) oaMessageArguments[0]} );
			}
			return ModelMessages.getMessage( sResourceKey,
					new String[]{(String) oaMessageArguments[0]
							+ " \"" + (String) oaMessageArguments[1] + "\""} ); 
		}
		else if ( sResourceKey == DESIGN_EXCEPTION_MISSING_DATA_SET )
		{
			String name = element.getName( );
			if ( StringUtil.isBlank( name ) )
			{
				return ModelMessages.getMessage( sResourceKey,
						new String[]{"The " + element.getElementName( )} ); 
			}
			return ModelMessages
					.getMessage(
							sResourceKey,
							new String[]{"The " + element.getElementName( ) + " \"" + name + "\""} ); 
		}
		else if ( sResourceKey == DESIGN_EXCEPTION_MISSING_TEMPLATE_PARAMETER_TYPE )
		{
			assert oaMessageArguments.length == 1;
			return ModelMessages.getMessage( sResourceKey, oaMessageArguments );
		}