Exclude ControlData from Properties in ruby script
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / property-wrapper.rb
index 78cb1f2..2701826 100755 (executable)
@@ -314,7 +314,7 @@ def writeCSharpData
 
             #exception case <<<
             #Tooltip gives swig build error
-            if( property.name == "Tooltip" )
+            if( property.name == "Tooltip" || property.name == "Color")
                 next
             end
             #exception case >>>
@@ -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