Salome HOME
Merge remote-tracking branch 'origin/ngo/Lot5'
[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:"
6                       tooltip="Select edges on sketch or edges objects."
7                       shape_types="edges"
8                       concealment="true">
9         <validator id="BuildPlugin_ValidatorBaseForBuild" parameters="edge"/>
10       </multi_selector>
11     </box>
12     <box id="by_points" title="By two points" icon="icons/Build/edge_by_points_32x32.png">
13       <shape_selector id="first_point"
14                       label="First point"
15                       icon="icons/Construction/point.png"
16                       tooltip="Select a first point"
17                       shape_types="vertex">
18         <validator id="GeomValidators_ConstructionComposite"/>
19         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
20       </shape_selector>
21       <shape_selector id="second_point"
22                       label="Second point"
23                       icon="icons/Construction/point.png"
24                       tooltip="Select a second point"
25                       shape_types="vertex">
26         <validator id="GeomValidators_ConstructionComposite"/>
27         <validator id="GeomValidators_ShapeType" parameters="vertex"/>
28         <validator id="GeomValidators_DifferentShapes"/>
29       </shape_selector>
30     </box>
31   </toolbox>
32 </source>