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 ( ( DesignElement.NAME_PROP.equals( propName ) ) )
			{
				NameCommand nameCmd = new NameCommand( module, getElement( ) );
				try
				{
					nameCmd.checkName( null );
				}
				catch ( NameException e )
				{
					continue;
				}
			}
			PropertyHandle propHandle = getPropertyHandle( propName );
			if ( propHandle.isLocal( ) )
				propHandle.clearValue( );
		}
	}
	/**
	 * Returns <code>true</code> if this element has any locally-defined
	 * property values. Returns <code>false</code> otherwise.
	 * 
	 * @return True if the element has property values, false if not.
	 */
	public boolean hasLocalProperties( )
	{
		return getElement( ).hasLocalPropertyValues( );
	}
	/**
	 * Adds a user-defined property definition. The property definition must
	 * have a valid name and property type. The other attributes can be set