Salome HOME
Meet the coding style (line length <= 100)
[modules/shaper.git] / src / FeaturesPlugin / pipe_widget.xml
index 12ea74936e958ce7cae72faf6eb217cc370a1579..ba9e808a9a3264e23c6a6d3fddb5634f6dc1fbc7 100644 (file)
@@ -4,14 +4,16 @@
   <multi_selector id="base_objects"
                   label="Base objects:"
                   tooltip="Select a base objects"
-                  type_choice="faces objects"
-                  use_choice="false">
-    <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell"/>
+                  type_choice="vertices edges wires faces shells compsolids"
+                  use_choice="false"
+                  concealment="true">
+    <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell,compound"/>
   </multi_selector>
   <shape_selector id="path_object"
                   label="Path object:"
                   tooltip="Select an edge or wire for path"
                   shape_types="edge wire">
+    <validator id="FeaturesPlugin_ValidatorPipePath"/>
   </shape_selector>
   <toolbox id="creation_method">
     <box id="simple" title="Simple pipe by objects and path" icon="icons/Features/pipe_simple_32x32.png"/>
@@ -32,4 +34,5 @@
     </box>
   </toolbox>
   <validator id="FeaturesPlugin_ValidatorPipeLocations"/>
+  <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base_objects"/>
 </source>