]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/extrusioncut_widget.xml
Salome HOME
Issue #1343. Improvement of Extrusion and Revolution operations: transaction correcti...
[modules/shaper.git] / src / FeaturesPlugin / extrusioncut_widget.xml
index fe01e3a419ad02d9baa9ad806d32459c02923edd..541d5675c7378df7da0f20f675b070440e1fe8af 100755 (executable)
@@ -9,14 +9,15 @@
 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
       shape_types="face objects">
+      <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
     </sketch_launcher>
-    <composite_multi_selector id="base"
+    <multi_selector id="base"
       label="Select a sketch face"
       icon=":icons/sketch.png"
       tooltip="Select a sketch face"
       type_choice="Faces Objects">
-      <validator id="FeaturesPlugin_ValidatorExtrusionBase" parameters="Sketch"/>
-    </composite_multi_selector>
+      <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="face,shell"/>
+    </multi_selector>
     <shape_selector id="direction_object"
                     icon=":icons/axis.png"
                     label="Direction"
@@ -91,4 +92,5 @@
     <validator id="GeomValidators_ShapeType" parameters="solid"/>
   </multi_selector>
   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
+  <validator id="FeaturesPlugin_ValidatorCanBeEmpty" parameters="CreationMethod,BySizes,base,to_object,from_object,direction_object"/>
 </source>