Salome HOME
Fix for the problem if disappeared sketch elements (on Apply) inside of sketch in...
[modules/shaper.git] / src / FeaturesPlugin / rotation_widget.xml
index 2b38c9a7ca8d8d30f583e85f84eb9d03b8365fbc..9cb633f12d63557ff7e7721e6af71dba5d5cd4f2 100755 (executable)
@@ -1,26 +1,31 @@
 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
 
 <source>
-  <multi_selector id="base"
-    label="Select a sketch face"
-    icon=":icons/cut_shape.png"
-    tooltip="Select a sketch face"
-    type_choice="Solids">
+  <multi_selector id="main_objects"
+    label="Main objects"
+    icon="icons/Features/cut_shape.png"
+    tooltip="Select solid objects"
+    type_choice="solid"
+    use_choice="false"
+    concealment="true">
+    <validator id="FeaturesPlugin_ValidatorTransform"/>
   </multi_selector>
   <shape_selector id="axis_object"
-                  icon=":icons/axis.png"
+                  icon="icons/Features/axis.png"
                   label="Axis"
                   tooltip="Select an edge for axis"
                   shape_types="edge"
                   default="">
+    <validator id="GeomValidators_ShapeType" parameters="line"/>
   </shape_selector>
   <doublevalue
     id="angle"
     label="Angle"
-    min="0"
+    min="-360"
+    max="360"
     step="1.0"
     default="0"
-    icon=":icons/radius.png"
+    icon="icons/Features/angle.png"
     tooltip="Angle">
   </doublevalue>
 </source>
\ No newline at end of file