Salome HOME
"Internal" feature XML procesing. Fixes #40
[modules/shaper.git] / src / SketchPlugin / plugin-Sketch.xml
index 03f85d0875646f55e335221a35340fda58d2c07b..5f100983e57b9645a43805fb5f94d5269709c26b 100644 (file)
@@ -1,7 +1,16 @@
 <plugin>
   <workbench id="Sketch">
     <group id="Basic">
-      <feature id="Sketch" text="New sketch" tooltip="Create a new sketch or edit an existing sketch" icon=":icons/sketch.png"/>
+      <feature id="Sketch" nested="SketchLine" text="New sketch" tooltip="Create a new sketch or edit an existing sketch" icon=":icons/sketch.png">
+        <label text="Select a plane on which to create a sketch" tooltip="Select a plane on which to create a sketch"/> 
+      <!--icon=":pictures/x_point.png"-->
+      </feature>
+      <feature id="SketchPoint" text="Point" tooltip="Create a new point" icon=":icons/point.png"/>
+      <feature id="SketchLine" text="Line" tooltip="Create a new line" icon=":icons/line.png">
+        <point_selector id="StartPoint" title="Start point" tooltip="Start point of the line"/>
+        <point_selector id="EndPoint" title="End point" tooltip="End point of the line"/>
+      </feature>
+      <feature id="SketchConstraintCoincidence" text="Points coincidence" tooltip="Create constraint for the coincidence of two points" internal="1"/>
     </group>
   </workbench>
 </plugin>