Bug 148761 Unable to copy a report item from template to report
Steps: 1. Create a template, add a Text item "t1" or others 2. Create template item using "t1" 3. Double click the template item and we get a report item again. 4. We copy the item, paste to another report file. Expected: the text item can be copied. Actual result: Nothing happened, not copied and no error msg.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/MasterPageContextContainmentValidator.java
import org.eclipse.birt.report.model.util.ModelUtil;
import org.eclipse.birt.report.model.validators.AbstractElementValidator;
/**
 * Validates the table/list is not allowed to appear in header/footer/contents
 * slot of master page in any level.
 * 
 * <h3>Rule</h3>
 * The rule is that whether the table/list can recursively resides in the
 * header/footer/contents slot of master page.
 * 
 * <h3>Applicability</h3>
 * This validator is only applied to <code>MasterPage</code> currently.
 * 
 */
public class MasterPageContextContainmentValidator
		extends
			AbstractElementValidator
{
	private final static MasterPageContextContainmentValidator instance = new MasterPageContextContainmentValidator( );
	/**
	 * Returns the singleton validator instance.
	 * 
	 * @return the validator instance
	 */
	public static MasterPageContextContainmentValidator getInstance( )
	{
		return instance;
	}
	/**
	 * Validates whether the given element can recursively resides in the