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
DesignElement containerObj = this;
		int slot = slotID;
		while ( containerObj != null )
		{
			ElementDefn defn = (ElementDefn) containerObj.getDefn( );
			SlotDefn slotInfo = (SlotDefn) defn.getSlot( slot );
			if ( slotInfo != null && !slotInfo.isManagedByNameSpace( ) )
				return false;
			slot = containerObj.getContainerSlot( );
			containerObj = containerObj.getContainer( );
		}
		return true;
	}
	/**
	 * Determines whether this element is managed by namespace. If this element
	 * is a pending node or the container is not managed by the namespace,
	 * return false. Otherwise true.
	 * 
	 * @return true if this element is managed by namespace, otherwise false
	 */
	public boolean isManagedByNameSpace( )
	{
		if ( getContainer( ) == null )
			return false;
		return getContainer( ).isManagedByNameSpace( getContainerSlot( ) );
	}
	/**
	 * Determines if the current element can be transformed to a template
	 * element. False will be returned if the element can not be dropped or the
	 * container of the current element can not contain the template element.