Bug 121498 When datasource/dataset deleted, the datasource/dataset property binding element haven't been deleted
When deleted the datasource/dataset, the datasource/dataset property binding element haven't been deleted. Expected result: This operation must be a transaction.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
public boolean canTransformToTemplate( )
	{
		return getElement( ).canTransformToTemplate( getModule( ) );
	}
	/**
	 * Determines if the slot can contain an element with the type of
	 * <code>type</code>.
	 * 
	 * @param slotId
	 *            the slot id
	 * @param type
	 *            the name of the element type, like "Table", "List", etc.
	 * @return <code>true</code> if the slot can contain the an element with
	 *         <code>type</code> type, otherwise <code>false</code>.
	 * 
	 * @see #canContain(int, DesignElementHandle)
	 */
	public boolean canContain( int slotId, String type )
	{
		if ( type == null )
			return false;
		IElementDefn defn = MetaDataDictionary.getInstance( ).getElement( type );
		if ( defn == null )
			defn = MetaDataDictionary.getInstance( ).getExtension( type );
		if ( defn == null )
			return false;
		return getElement( ).canContain( getModule( ), slotId, defn );
	}
	/**
	 * Determines if the given slot can contain the <code>content</code>.