Salome HOME
Dump with geometrical selection
[modules/shaper.git] / src / PythonAddons / macros / box / widget.xml
index 9ef95858daf21d1d13d55cd4219011dfc960150b..51d5a0c07117f43e30b1ea3879e8fd74ca1df573 100644 (file)
@@ -1,19 +1,40 @@
+<!--
+Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+See http:##www.salome-platform.org/ or
+email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+-->
+
 <source>
   <workbench id="Macros" document="Part">
     <group id="Samples">
 
-      <feature id="Box" title="Box" tooltip="Create a box parallel to xyz by extruding a rectangular" icon=":pictures/box_ico.png">
-        <doublevalue id="width"  label="dx: " min="0" step="1.0" default="50" tooltip="Sets the box width">
+      <feature id="Box_script" title="Box" tooltip="Create a box parallel to xyz by extruding a rectangular" icon="icons/Addons/box_ico.png">
+        <doublevalue id="width"  label="Width: " min="0" step="1.0" default="50" tooltip="Box width">
           <validator id="GeomValidators_Positive"/>
         </doublevalue>
-        <doublevalue id="length" label="dy: " min="0" step="1.0" default="50" tooltip="Sets the box length">
+        <doublevalue id="length" label="Length: " min="0" step="1.0" default="50" tooltip="Box length">
           <validator id="GeomValidators_Positive"/>
         </doublevalue>
-        <doublevalue id="height" label="dz: " min="0" step="1.0" default="50" tooltip="Sets the box height">
+        <doublevalue id="height" label="Height: " min="0" step="1.0" default="50" tooltip="Box height">
           <validator id="GeomValidators_Positive"/>
         </doublevalue>
       </feature>
 
     </group>
-  </workbench>  
+  </workbench>
 </source>