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
* 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.
	 * 
	 * @param module
	 *            the root module of the element
	 * 
	 * @return true if it can be transformed, otherwise false.
	 */
	public final boolean canTransformToTemplate( Module module )
	{
		
		
		if ( !ModelUtil.isTemplateSupported( this ) || ( !canDrop( ) ) )
			return false;
		
		IElementDefn templateReportItem = MetaDataDictionary.getInstance( )
				.getElement( ReportDesignConstants.TEMPLATE_REPORT_ITEM );
		IElementDefn templateDataSet = MetaDataDictionary.getInstance( )
				.getElement( ReportDesignConstants.TEMPLATE_DATA_SET );
		if ( container != null )
			return container.canContain( module, containerSlotID,
					templateReportItem )
					|| container.canContain( module, containerSlotID,
							templateDataSet );
		return true;
	}
	/**
	 * Checks whether this element is based on a template parameter definition
	 * or not.
	 *