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
property( obj, SimpleDataSet.AFTER_CLOSE_METHOD );
		property( obj, SimpleDataSet.REF_TEMPLATE_PARAMETER_PROP );
		property( obj, SimpleDataSet.CACHED_ROW_COUNT_PROP );
		writeStructureList( obj, SimpleDataSet.PARAM_BINDINGS_PROP );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitDataSource(org.eclipse.birt.report.model.elements.DataSource)
	 */
	public void visitDataSource( DataSource obj )
	{
		super.visitDataSource( obj );
		property( obj, DataSource.BEFORE_OPEN_METHOD );
		property( obj, DataSource.BEFORE_CLOSE_METHOD );
		property( obj, DataSource.AFTER_OPEN_METHOD );
		property( obj, DataSource.AFTER_CLOSE_METHOD );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitParameter(org.eclipse.birt.report.model.elements.Parameter)
	 */
	public void visitParameter( Parameter obj )
	{
		super.visitParameter( obj );
		property( obj, Parameter.HIDDEN_PROP );
		resourceKey( obj, Parameter.HELP_TEXT_KEY_PROP,
				Parameter.HELP_TEXT_PROP );
		property( obj, Parameter.VALIDATE_PROP );