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
{
		
		
		assert content.getContainer( ) != null;
		
		
		NameCommand nameCmd = new NameCommand( module, content );
		nameCmd.addElement( );
		
		for ( int i = 0; i < content.getDefn( ).getSlotCount( ); i++ )
		{
			ContainerSlot slot = content.getSlot( i );
			for ( int j = 0; j < slot.getCount( ); j++ )
			{
				DesignElement tmpElement = slot.getContent( j );
				addElementNames( tmpElement );
			}
		}
	}
	/**
	 * Removes an item from its container. This is equivalent to deleting the
	 * element from the design. Because the element is being deleted, we must
	 * clean up all references to or from the element. References include:
	 * <p>
	 * <ul>
	 * <li>The elements that this content extends.
	 * <li>The elements that extend this content.
	 * <li>The style that this content uses.
	 * <li>The elements that use this style.
	 * <li>The elements that this content contains.