Salome HOME
Merge branch 'V9_4_BR'
[modules/shaper.git] / src / BuildPlugin / edge_widget.xml
1 <source>
2   <toolbox id="creation_method">
3     <box id="by_segments" title="By segments" icon="icons/Build/edge_by_segments_32x32.png">
4       <multi_selector id="base_objects"
5                       label="Edges or sketches:"
6                       tooltip="Select edges on sketch or edges objects."
7                       shape_types="edges"
8                       concealment="true">
9         <validator id="BuildPlugin_ValidatorBaseForBuild" parameters="edge,compound"/>
10       </multi_selector>
11       <boolvalue id="intersect" label="Compute intersections" tooltip="Divide sketch edges in intersection points." default="false"/>
12       <validator id="BuildPlugin_ValidatorBaseForWire" parameters="base_objects,edge"/>
13     </box>
14     <box id="by_points" title="By two points" icon="icons/Build/edge_by_points_32x32.png">
15       <shape_selector id="first_point"
16                       label="First point"
17                       icon="icons/Construction/point.png"
18                       tooltip="Select a first point"
19                       shape_types="vertex">
20         <validator id="GeomValidators_ConstructionComposite"/>
21         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
22       </shape_selector>
23       <shape_selector id="second_point"
24                       label="Second point"
25                       icon="icons/Construction/point.png"
26                       tooltip="Select a second point"
27                       shape_types="vertex">
28         <validator id="GeomValidators_ConstructionComposite"/>
29         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
30         <validator id="GeomValidators_DifferentShapes"/>
31       </shape_selector>
32     </box>
33   </toolbox>
34 </source>