Salome HOME
Merge remote-tracking branch 'origin/ngo/Lot5'
[modules/shaper.git] / src / CollectionPlugin / plugin-Collection.xml
index fcab1b9401197641ba1aef1868535b7e39af110d..a02f0bf2fb81c8b901d93f71b50aa83efe1d1043 100644 (file)
@@ -1,45 +1,49 @@
-<!--
-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>
--->
-
 <plugin>
   <workbench id="Features" document="Part">
     <group id="Collections">
-      <feature id="Group"
-        title="Group"
-        tooltip="Create named collection of geometry entities"
-        icon="icons/Collection/shape_group.png"
-        apply_continue="true"
-        helpfile="CollectionPlugin/groupFeature.html">
-        <source path="group_widget.xml"/>
-      </feature>
-
       <feature id="Field"
         title="Field"
         tooltip="Create fields for selected shapes"
         icon="icons/Collection/field.png"
-        helpfile="CollectionPlugin/fieldFeature.html">
+        helpfile="fieldFeature.html">
         <field-panel id="selected"
           filter_points="false" >
           <validator id="GeomValidators_BodyShapes"/>
         </field-panel>
+        <validator id="CollectionPlugin_FieldValidator"/>
+      </feature>
+
+      <feature id="Group"
+        title="Group"
+        tooltip="Create named collection of geometry entities"
+        icon="icons/Collection/shape_group.png"
+        apply_continue="true"
+        helpfile="groupFeature.html">
+        <source path="group_widget.xml"/>
+      </feature>
+
+      <feature id="GroupAddition"
+        title="Group Addition"
+        tooltip="Join several groups to single group"
+        icon="icons/Collection/group_addition.png"
+        helpfile="groupAdditionFeature.html">
+        <source path="group_addition_widget.xml"/>
+      </feature>
+
+      <feature id="GroupIntersection"
+        title="Group Intersection"
+        tooltip="Get elements existing in all groups"
+        icon="icons/Collection/group_intersection.png"
+        helpfile="groupIntersectionFeature.html">
+        <source path="group_intersection_widget.xml"/>
+      </feature>
+
+      <feature id="GroupSubstraction"
+        title="Group Substraction"
+        tooltip="Exclude elements existing tool groups"
+        icon="icons/Collection/group_substraction.png"
+        helpfile="groupSubstractionFeature.html">
+        <source path="group_substraction_widget.xml"/>
       </feature>
     </group>
   </workbench>