Salome HOME
Make result part as a container of the document
[modules/shaper.git] / src / ConstructionPlugin / plugin-Construction.xml
index 912d04e0ca636ce6e2acd9dfd7598ccde8300029..0918dc9cda6e82bd48fb23a400b314ce95c1c888 100644 (file)
@@ -1,11 +1,14 @@
 <plugin>
   <workbench id="Construction">
     <group id="Basic">
-      <feature id="Point" text="Point" tooltip="Create a new point" icon=":icons/point.png">
+      <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>