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
* @param obj
	 *            the element to clean up
	 * @throws UserPropertyException
	 *             if an error occurs, but the operation should not fail under
	 *             normal conditions
	 */
	private void dropUserProperties( DesignElement obj )
			throws UserPropertyException
	{
		Collection props = element.getUserProperties( );
		if ( props != null )
		{
			UserPropertyCommand propCmd = new UserPropertyCommand( module, obj );
			Iterator iter = props.iterator( );
			while ( iter.hasNext( ) )
			{
				UserPropertyDefn prop = (UserPropertyDefn) iter.next( );
				propCmd.dropUserProperty( prop.getName( ) );
			}
		}
	}
	/**
	 * Removes all the contents of the element. Removes all contents from all
	 * slots. Does the drop recursively.
	 * 
	 * @param obj
	 *            the element to clean up
	 * @throws SemanticException
	 *             if an error occurs, but the operation should not fail under
	 *             normal conditions