Salome HOME
Issue #90: Show constraints on sketcher edit
[modules/shaper.git] / src / ConstructionPlugin / plugin-Construction.xml
index a5e402f06a616d1b1f326d18c5f773a26609370b..381a3e656f587e26e70adc2ccce395ff44fc1d49 100644 (file)
@@ -1,13 +1,14 @@
 <plugin>
   <workbench id="Construction">
     <group id="Basic">
-      <feature id="Point" text="Point" tooltip="Create a new point" icon=":icons/point.png">
-        <doublevalue id="x" label="X:" max="50" step="1.0" default="0" icon=":pictures/x_point.png" tooltip="Set X"/>
-        <doublevalue id="y" label="Y:" min="x" default="1" icon=":pictures/y_point.png" tooltip="Set Y"/>
-        <doublevalue id="z" label="Z:" min="-20" step="0.1" default="2" icon=":pictures/z_point.png" tooltip="Set Z"/>
+      <feature id="Point" title="Point" tooltip="Create a new point" icon=":icons/point.png">
+        <!-- validator id="test" parameters="x,y,z"/ -->
+        <source path="point_widget.xml"/>
       </feature>
-      <feature id="Axis" text="Axis" tooltip="Create a new axis" icon=":icons/axis.png" keysequence=""/>
-      <feature id="Plane" text="Plane" tooltip="Create a new plane" icon=":icons/plane.png" keysequence=""/>
+      <feature id="Axis" title="Axis" tooltip="Create a new axis" icon=":icons/axis.png" keysequence="" internal="true">
+        <!-- validator id="inside" parameters="a,b"/ --> 
+      </feature>
+      <feature id="Plane" title="Plane" tooltip="Create a new plane" icon=":icons/plane.png" keysequence="" internal="true"/>
     </group>
-  </workbench>  
+</workbench>  
 </plugin>