Bug 142928 Item from library is changed to a report design item after revert to report item
Details: Item from library is changed to a report design item after revert to report item. Setp: 1.New a template. 2.Use a libary contain a label. 3.Drop the label from library explorer into layout. 4.Change the label to template item. 5.Revert the template item to report item. Actual result: The label is become a report item, but a item from library. Please see the attach image. Exception result: The lable is revert a item from library.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
public FactoryPropertyHandle getFactoryPropertyHandle( String propName )
	{
		DesignElement element = getElement( );
		ElementPropertyDefn propDefn = element.getPropertyDefn( propName );
		if ( propDefn == null )
			return null;
		FactoryPropertyHandle handle = new FactoryPropertyHandle( this,
				propDefn );
		if ( handle.isSet( ) )
			return handle;
		return null;
	}
	/**
	 * Returns a handle to the element that contains this element. Every element
	 * except the report design has a container. The container of a parameter,
	 * shared style, data source or data set is the report design itself. The
	 * container of a report item is the section or other report item in which
	 * it appears.
	 * 
	 * @return a handle to the container element.
	 */
	public DesignElementHandle getContainer( )
	{
		DesignElement element = getElement( ).getContainer( );
		if ( element == null )
			return null;
		return element.getHandle( module );
	}
	/**
	 * Moves this element to a new location within the design.