Salome HOME
Implementation of the task #3109 : Feature Copy. Documentation and translation.
[modules/shaper.git] / src / FeaturesPlugin / rotation_widget.xml
old mode 100755 (executable)
new mode 100644 (file)
index 2ec8b40..52b945e
@@ -1,6 +1,3 @@
-<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-<!-- Modified by Clarisse Genrault (CEA) : 02 Mar 2017 -->
-
 <source>
   <toolbox id="CreationMethod">
     <box id="ByAxisAndAngle"
@@ -10,7 +7,7 @@
                       label="Main objects"
                       icon=""
                       tooltip="Select solid objects"
-                      type_choice="objects"
+                      shape_types="objects"
                       concealment="true">
         <validator id="FeaturesPlugin_ValidatorTransform"/>
       </multi_selector>
@@ -19,7 +16,8 @@
                   label="Axis"
                   tooltip="Select an edge for axis"
                   shape_types="edge"
-                  default="">
+                  default=""
+                  geometrical_selection="true">
         <validator id="GeomValidators_ShapeType" parameters="line"/>
       </shape_selector>
       <doublevalue id="angle"
@@ -37,7 +35,7 @@
                       label="Main objects"
                       icon=""
                       tooltip="Select solid objects"
-                      type_choice="objects"
+                      shape_types="objects"
                       concealment="true">
         <validator id="FeaturesPlugin_ValidatorTransform"/>
       </multi_selector>
@@ -51,7 +49,7 @@
       </shape_selector>
       <shape_selector id="start_point"
                       label="Start point"
-                      icon="icons/Features/point.png"  
+                      icon="icons/Features/point.png"
                       tooltip="Select a starting point"
                       shape_types="vertex">
         <validator id="GeomValidators_ConstructionComposite"/>