Exclude ControlData from Properties in ruby script 77/126677/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Mon, 24 Apr 2017 14:30:13 +0000 (15:30 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Mon, 24 Apr 2017 14:37:46 +0000 (15:37 +0100)
Change-Id: I388eb74fe030cc8ba596813aec6f99c8aaf907f1

plugins/dali-swig/property-wrapper.rb

index 179ada4..2701826 100755 (executable)
@@ -503,13 +503,16 @@ def writeDaliToolkitProperties
       #puts(className);
       #puts(fileName);
 
       #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 )
 
       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
 
 
     end