<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
<source>
- <toolbox>
+ <toolbox id="CreationMethod">
<box id="AxisByPointsCase" title="By two points">
- <shape_selector id="firstPoint"
+ <shape_selector id="FirstPoint"
label="First point"
icon=":icons/point.png"
tooltip="Select a first point"
shape_types="vertex">
- <selection_filter id="NoConstructionSubShapesFilter"/>
+ <validator id="GeomValidators_ConstructionComposite"/>
</shape_selector>
- <shape_selector id="secondPoint"
+ <shape_selector id="SecondPoint"
label="Second point"
icon=":icons/point.png"
tooltip="Select a second point"
shape_types="vertex">
- <selection_filter id="NoConstructionSubShapesFilter"/>
+ <validator id="GeomValidators_ConstructionComposite"/>
<validator id="PartSet_DifferentShapes"/>
</shape_selector>
</box>
<box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face">
- <shape_selector id="main_object"
+ <shape_selector id="CylindricalFace"
label="Main object"
icon=":icons/circle.png"
tooltip="Select a cylindrical object"
shape_types="face solid shell">
+ <validator id="GeomValidators_Face" parameters="cylinder"/>
</shape_selector>
</box>
</toolbox>