Bug 151959 inappropriate screen operation
steps to reproduce: - create a report - add a grid item (3x3) - switch to Outline view - expand the grid item to see its rows and cells - select the grid item, and drag it into any of its own cell expected behavior: - is it an invalid screen operation? if it is, it should be banned actual behavior: - the grid item was disappeared surprisingly
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
* @param module
	 *            the root module
	 * @return true if this element is based on a template parameter definition,
	 *         otherwise false
	 */
	public boolean isTemplateParameterValue( Module module )
	{
		return getTemplateParameterElement( module ) != null;
	}
	/**
	 * Resolves a list of element reference.
	 * 
	 * @param module
	 *            the module information needed for the check, and records any
	 *            errors
	 * @param prop
	 *            the property whose type is element reference
	 * @return the list of element reference value and each reference value is
	 *         tried to resolve
	 */
	public List resolveElementReferenceList( Module module,
			ElementPropertyDefn prop )
	{
		Object value = propValues.get( prop.getName( ) );
		assert value == null || value instanceof List;
		assert prop.getTypeCode( ) == PropertyType.LIST_TYPE
				&& prop.getSubTypeCode( ) == PropertyType.ELEMENT_REF_TYPE;
		if ( value == null )
			return null;
		List valueList = (List) value;