From: Agnelo Vaz Date: Mon, 24 Apr 2017 14:30:13 +0000 (+0100) Subject: Exclude ControlData from Properties in ruby script X-Git-Tag: dali_1.2.37~6 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=97296c37e707676eb329e8b6e54e2b3efab83aae;ds=sidebyside Exclude ControlData from Properties in ruby script Change-Id: I388eb74fe030cc8ba596813aec6f99c8aaf907f1 --- diff --git a/plugins/dali-swig/property-wrapper.rb b/plugins/dali-swig/property-wrapper.rb index 179ada4..2701826 100755 --- a/plugins/dali-swig/property-wrapper.rb +++ b/plugins/dali-swig/property-wrapper.rb @@ -503,13 +503,16 @@ def writeDaliToolkitProperties #puts(className); #puts(fileName); - # Get the property information ( name, type, read/writeable) + # Get the property information ( name, type, read/writeable) propertyInfo = extractToolkitPropertyInfo( macro ); # get or create a new DALi class item which stores the property information classItem = getDaliClassItem( className ) - classItem.properties.push( propertyInfo ) + # exclusion of control-data-impl + if ( className != "ControlData" ) + classItem.properties.push( propertyInfo ) + end end