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
public void visitSimpleMasterPage( SimpleMasterPage obj )
	{
		writer.startElement( DesignSchemaConstants.SIMPLE_MASTER_PAGE_TAG );
		super.visitSimpleMasterPage( obj );
		property( obj, SimpleMasterPage.SHOW_HEADER_ON_FIRST_PROP );
		property( obj, SimpleMasterPage.SHOW_FOOTER_ON_LAST_PROP );
		property( obj, SimpleMasterPage.FLOATING_FOOTER );
		property( obj, SimpleMasterPage.HEADER_HEIGHT_PROP );
		property( obj, SimpleMasterPage.FOOTER_HEIGHT_PROP );
		writeContents( obj, SimpleMasterPage.PAGE_HEADER_SLOT,
				DesignSchemaConstants.PAGE_HEADER_TAG );
		writeContents( obj, SimpleMasterPage.PAGE_FOOTER_SLOT,
				DesignSchemaConstants.PAGE_FOOTER_TAG );
		writer.endElement( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.design.elements.DesignVisitor#visitParameterGroup(org.eclipse.birt.report.model.design.elements.ParameterGroup)
	 */
	public void visitParameterGroup( ParameterGroup obj )
	{
		writer.startElement( DesignSchemaConstants.PARAMETER_GROUP_TAG );
		super.visitParameterGroup( obj );
		property( obj, ParameterGroup.START_EXPANDED_PROP );
		resourceKey( obj, ParameterGroup.HELP_TEXT_KEY_PROP,
				ParameterGroup.HELP_TEXT_PROP );
		writeContents( obj, ParameterGroup.PARAMETERS_SLOT,
				DesignSchemaConstants.PARAMETERS_TAG );
		writer.endElement( );