Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fill the translation files and remove couts and debug work in Session
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
axis_widget.xml
diff --git
a/src/ConstructionPlugin/axis_widget.xml
b/src/ConstructionPlugin/axis_widget.xml
index 44f6f0e94d6bca405d8c21adb68aea071d51113f..c67dff3e10fc5d65576bbe76fcf452643d6090df 100644
(file)
--- a/
src/ConstructionPlugin/axis_widget.xml
+++ b/
src/ConstructionPlugin/axis_widget.xml
@@
-2,29
+2,32
@@
<source>
<toolbox id="CreationMethod">
<source>
<toolbox id="CreationMethod">
- <box id="AxisByPointsCase" title="By two points">
+ <box id="AxisByPointsCase" title="By two points"
icon="icons/Construction/by_two_points_32x32.png"
>
<shape_selector id="FirstPoint"
label="First point"
<shape_selector id="FirstPoint"
label="First point"
- icon="
:icons
/point.png"
+ icon="
icons/Construction
/point.png"
tooltip="Select a first point"
shape_types="vertex">
tooltip="Select a first point"
shape_types="vertex">
- <selection_filter id="NoConstructionSubShapesFilter"/>
+ <validator id="GeomValidators_ConstructionComposite"/>
+ <validator id="GeomValidators_ShapeType" parameters="vertex"/>
</shape_selector>
<shape_selector id="SecondPoint"
label="Second point"
</shape_selector>
<shape_selector id="SecondPoint"
label="Second point"
- icon="
:icons
/point.png"
+ icon="
icons/Construction
/point.png"
tooltip="Select a second point"
shape_types="vertex">
tooltip="Select a second point"
shape_types="vertex">
- <selection_filter id="NoConstructionSubShapesFilter"/>
- <validator id="PartSet_DifferentShapes"/>
+ <validator id="GeomValidators_ConstructionComposite"/>
+ <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+ <validator id="GeomValidators_DifferentShapes"/>
</shape_selector>
</box>
</shape_selector>
</box>
- <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face">
+ <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face"
icon="icons/Construction/cylindrical_face_32x32.png"
>
<shape_selector id="CylindricalFace"
label="Main object"
<shape_selector id="CylindricalFace"
label="Main object"
- icon="
:icons
/circle.png"
+ icon="
icons/Construction
/circle.png"
tooltip="Select a cylindrical object"
tooltip="Select a cylindrical object"
- shape_types="face solid shell">
+ shape_types="face">
+ <validator id="GeomValidators_Face" parameters="cylinder"/>
</shape_selector>
</box>
</toolbox>
</shape_selector>
</box>
</toolbox>