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
{
		if ( module instanceof ReportDesign )
			return (ReportDesign) module;
		return null;
	}
	/**
	 * Returns the module on which this handle is attached. The returned module
	 * must be <code>ReportDesign</code> or <code>Library</code>.
	 * 
	 * @return the module on which this handle is attached.
	 */
	public Module getModule( )
	{
		return module;
	}
	/**
	 * Returns the handle of report design only when the module is report
	 * design. Otherwise, null is returned.
	 * 
	 * @return the handle of report design, or null if the module is not report
	 *         design.
	 * @deprecated replaced by getModuleHandle()
	 */
	public ReportDesignHandle getDesignHandle( )
	{
		if ( getDesign( ) != null )
			return (ReportDesignHandle) getDesign( ).getHandle( module );
		return null;
	}
	/**