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
writeStructure( obj, Style.DATE_TIME_FORMAT_PROP );
		writeStructure( obj, Style.NUMBER_FORMAT_PROP );
		writeStructure( obj, Style.STRING_FORMAT_PROP );
		
		property( obj, Style.TEXT_ALIGN_PROP );
		property( obj, Style.TEXT_INDENT_PROP );
		property( obj, Style.LETTER_SPACING_PROP );
		property( obj, Style.LINE_HEIGHT_PROP );
		property( obj, Style.ORPHANS_PROP );
		property( obj, Style.TEXT_TRANSFORM_PROP );
		property( obj, Style.VERTICAL_ALIGN_PROP );
		property( obj, Style.WHITE_SPACE_PROP );
		property( obj, Style.WIDOWS_PROP );
		property( obj, Style.WORD_SPACING_PROP );
		
		property( obj, Style.DISPLAY_PROP );
		property( obj, Style.MASTER_PAGE_PROP );
		property( obj, Style.PAGE_BREAK_AFTER_PROP );
		property( obj, Style.PAGE_BREAK_BEFORE_PROP );
		property( obj, Style.PAGE_BREAK_INSIDE_PROP );
		property( obj, Style.SHOW_IF_BLANK_PROP );
		property( obj, Style.CAN_SHRINK_PROP );
		
		List list = (ArrayList) obj.getLocalProperty( getModule( ),
				Style.HIGHLIGHT_RULES_PROP );
		if ( list != null && list.size( ) > 0 )
		{
			writer.startElement( DesignSchemaConstants.LIST_PROPERTY_TAG );
			writer.attribute( DesignSchemaConstants.NAME_ATTRIB,
					Style.HIGHLIGHT_RULES_PROP );