Salome HOME
Correct processing of the fixed arc in PlaneGCS (issue #1280)
[modules/shaper.git] / src / SketchShapePlugin / plugin-SketchShape.xml
index 016198101ff79d820bae9f98bead9cb507eb45b9..ace539bf61857b5ed924877ba0cf11a5372080cc 100755 (executable)
@@ -4,16 +4,44 @@
   <workbench id="Sketch">
     <group id="Exchange">
       <feature id="SketchShape" title="Sketch vertices, edges and faces" tooltip="Construct vertices, edges and faces by sketch" icon=":icons/sketchshape.png">
+        <shape_selector id="Sketch"
+          label="Sketch"
+          icon=":icons/sketch.png"
+          tooltip="Select a sketch"
+          shape_types="objects">
+          <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
+        </shape_selector>
         <sketchshape_groupbox title="Direction">
-          <boolvalue id="VertexChoice" label="VERTICES" default="true" tooltip="Vertices selection on sketch"/>
-          <sketch_multi_selector id="VertexList"
-            label=""
-            tooltip="Select list of mirroring objects"
-            type_choice="Vertices"
-            use_external="false"
-            use_choice="false">
-            <validator id="SketchShapePlugin_FeatureValidator" />
-          </sketch_multi_selector>
+          <sketchshape_check_groupbox id="VertexChoice" title="VERTICES" default="true" tooltip="Vertices selection on sketch">
+            <sketchshape_multi_selector id="VertexList"
+              label=""
+              tooltip="Select list of vertices"
+              type_choice="Vertices Edges Faces"
+              use_external="false"
+              use_choice="false">
+              <validator id="SketchShapePlugin_FeatureValidator" />
+            </sketchshape_multi_selector>
+          </sketchshape_check_groupbox>
+          <sketchshape_check_groupbox id="EdgeChoice" title="EDGES" default="true" tooltip="Edges selection on sketch">
+            <sketchshape_multi_selector id="EdgeList"
+              label=""
+              tooltip="Select list of edges"
+              type_choice="Vertices Edges Faces"
+              use_external="false"
+              use_choice="false">
+              <validator id="SketchShapePlugin_FeatureValidator" />
+            </sketchshape_multi_selector>
+          </sketchshape_check_groupbox>
+          <sketchshape_check_groupbox id="FaceChoice" title="FACES" default="true" tooltip="Faces selection on sketch">
+            <sketchshape_multi_selector id="FaceList"
+              label=""
+              tooltip="Select list of faces"
+              type_choice="Vertices Edges Faces"
+              use_external="false"
+              use_choice="false">
+              <validator id="SketchShapePlugin_FeatureValidator" />
+            </sketchshape_multi_selector>
+          </sketchshape_check_groupbox>
         </sketchshape_groupbox>
       </feature>
     </group>