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
* @param name
	 *            the config variable name
	 * @return the index ( from 0 ) of config variable with the given name.
	 *         Return -1, if not found.
	 * 
	 */
	private int findConfigVariablePos( String name )
	{
		List configVars = (List) module.getLocalProperty( module,
				CONFIG_VARS_PROP );
		if ( configVars == null )
			return -1;
		int i = 0;
		for ( Iterator iter = configVars.iterator( ); iter.hasNext( ); i++ )
		{
			ConfigVariable var = (ConfigVariable) iter.next( );
			if ( var.getName( ).equals( name ) )
			{
				return i;
			}
		}
		return -1;
	}
	/**
	 * Finds a data set by name in this module and the included modules.
	 * 
	 * @param name
	 *            name of the data set
	 * @return a handle to the data set, or <code>null</code> if the data set
	 *         is not found