Bug 121864 Report element can't be deleted
Description: Report element can't be deleted Steps to reproduce: 1.Open the attached design file 2.Delete the table/parameters/dataset/datasource Expected result: The element can be deleted Actual result: They can't be deleted
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java
/**
	 * Does some transformation between template elements and report items or
	 * data sets. Virtually all elements must reside in a container. Containers
	 * are identified by a container ID.
	 * 
	 * @param from
	 *            the old element to replace
	 * @param to
	 *            the new element to replace
	 * @param slotID
	 *            the slot from which to replace the old element
	 * @param unresolveReference
	 *            status whether to un-resolve the references or set the
	 *            reference to null
	 * @throws SemanticException
	 *             if the old element cannot be replaced by the new element into
	 *             this container.
	 */
	public void transformTemplate( DesignElement from, DesignElement to,
			int slotID, boolean unresolveReference ) throws SemanticException
	{
		doReplace( from, to, slotID, unresolveReference );
	}
	/**
	 * @see #transformTemplate(DesignElement, DesignElement, int, boolean)
	 * 
	 * @param oldElement
	 *            the old element to replace
	 * @param newElement
	 *            the new element to replace