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
assert prop.getTypeCode( ) != PropertyType.STRUCT_TYPE;
		switch ( prop.getTypeCode( ) )
		{
			case PropertyType.EXPRESSION_TYPE :
				return DesignSchemaConstants.EXPRESSION_TAG;
			case PropertyType.XML_TYPE :
				return DesignSchemaConstants.XML_PROPERTY_TAG;
			case PropertyType.SCRIPT_TYPE :
				return DesignSchemaConstants.METHOD_TAG;
			default :
				if ( prop.isEncryptable( ) )
					return DesignSchemaConstants.ENCRYPTED_PROPERTY_TAG;
				return DesignSchemaConstants.PROPERTY_TAG;
		}
	}
	/**
	 * Writes one property entry of an element.
	 * 
	 * @param obj
	 *            the design element
	 * @param propName
	 *            the property name
	 */
	protected void property( DesignElement obj, String propName )
	{
		writeProperty( obj, null, propName, false );
	}
	/**
	 * Writes one property entry of an structure.
	 *