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
* @throws IOException
	 *             if a write error occurs.
	 */
	public void write( OutputStream os ) throws IOException
	{
		writer = new IndentableXMLWriter( os, getModule( ).getUTFSignature( ) );
		writeFile( );
	}
	/**
	 * Implementation method to write the file header and contents.
	 */
	private void writeFile( )
	{
		boundColumnsMgr = new BoundColumnsWriterMgr( getModule( )
				.getVersionManager( ).getVersion( ) );
		writer.literal( "<!-- Written by Eclipse BIRT 2.0 -->\r\n" ); 
		getModule( ).apply( this );
		getModule( ).getVersionManager( ).setVersion(
				DesignSchemaConstants.REPORT_VERSION );
	}
	/**
	 * Write an XML attribute from an element property.
	 * 
	 * @param obj
	 *            the element that has the property
	 * @param attr
	 *            the XML attribute name
	 * @param propName
	 *            the name of the property to write
	 */