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
{
			String propName = (String) propNames.get( i );
			String tagName = dummyProvider.getTagName( propName );
			String value = dummyProvider.getValue( propName );
			boolean cdata = false;
			if ( dummyProvider.getPropertyTypeCode( propName ) == PropertyType.SCRIPT_TYPE
					|| dummyProvider.getPropertyTypeCode( propName ) == PropertyType.XML_TYPE )
				cdata = true;
			writeEntry( tagName, propName, value, cdata );
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitScriptDataSet(org.eclipse.birt.report.model.elements.ScriptDataSet)
	 */
	public void visitScriptDataSet( ScriptDataSet obj )
	{
		writer.startElement( DesignSchemaConstants.SCRIPT_DATA_SET_TAG );
		super.visitScriptDataSet( obj );
		writeStructureList( obj, DataSet.PARAMETERS_PROP );
		property( obj, ScriptDataSet.OPEN_METHOD );
		property( obj, ScriptDataSet.DESCRIBE_METHOD );
		property( obj, ScriptDataSet.FETCH_METHOD );
		property( obj, ScriptDataSet.CLOSE_METHOD );
		writer.endElement( );
	}
	/*
	 * (non-Javadoc)
	 *