Bug 155943 "Restore Properties" is always enabled for extended chart
Steps to reproduce: 1.New a report, includes a library, extends lib.chart 2.Choose the chart Expected result: "Restore Properties" is disabled untill set/change any local properties for the chart Actual result: "Restore Properties" is always enabled
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
PropertyDefn prop = (PropertyDefn) list.get( i );
			if ( extensionIDProp.equals( prop.getName( ) ) )
				continue;
			Object value = obj.getLocalProperty( getModule( ), prop.getName( ) );
			if ( value != null )
			{
				boolean cdata = false;
				if ( prop.getTypeCode( ) == PropertyType.XML_TYPE
						|| prop.getTypeCode( ) == PropertyType.SCRIPT_TYPE )
					cdata = true;
				writeProperty( obj, getTagByPropertyType( prop ), prop
						.getName( ), cdata );
			}
		}
	}
	/**
	 * Writes ODA exension properties.
	 * 
	 * @param obj
	 *            the ODA element to write
	 * @param provider
	 *            the extension provider
	 */
	private void writeOdaDummyProperties( DesignElement obj,
			ODAProvider provider )
	{
		assert provider instanceof OdaDummyProvider;
		OdaDummyProvider dummyProvider = (OdaDummyProvider) provider;
		List propNames = dummyProvider.getPropertyNames( );
		for ( int i = 0; i < propNames.size( ); i++ )