Bug 145698 Name change won't enable "restore property" button
Steps to reproduce: 1.New a report, extends lib.label 2.Choose the label, switch to property editor, chang its name to "aa" 3.Choose the label again Expected result: "Restore property" button is enabled Actual result: "Restore property" button is grayed out
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java
* Determines if the design has changed since it was last read from, or
	 * written to, the file. The dirty state reflects the action of the command
	 * stack. If the user saves the design and then changes it, the design is
	 * dirty. If the user then undoes the change, the design is no longer dirty.
	 * 
	 * @return <code>true</code> if the design has changed since the last load
	 *         or save; <code>false</code> if it has not changed.
	 */
	public boolean needsSave( )
	{
		List versionInfos = ModelUtil.checkVersion( module.getVersionManager( )
				.getVersion( ) );
		if ( !versionInfos.isEmpty( ) )
			return true;
		return module.isDirty( );
	}
	/**
	 * Calls to inform a save is successful. Must be called after a successful
	 * completion of a save done using <code>serialize</code>.
	 */
	public void onSave( )
	{
		module.onSave( );
	}
	/**
	 * Removes a given validation listener. If the listener not registered, then
	 * the request is silently ignored.
	 * 
	 * @param listener
	 *            the listener to de-register