Salome HOME
updated copyright message
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_GroupSubstraction.h
index 3fcd74339ea60e882060c484ce042c7575717802..b01cc4a88f9c4538165dff46184dcd6cf78629b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  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
 #define COLLECTIONPLUGIN_GROUPSUBSTRACTION_H_
 
 #include "CollectionPlugin.h"
-#include "CollectionPlugin_Group.h"
+#include "CollectionPlugin_GroupOperation.h"
 
 /**\class CollectionPlugin_GroupSubstraction
  * \ingroup Plugins
  * \brief Remove all elements in "objects" groups which contain in "tools" groups.
  */
-class CollectionPlugin_GroupSubstraction : public CollectionPlugin_Group
+class CollectionPlugin_GroupSubstraction : public CollectionPlugin_GroupOperation
 {
- public:
+public:
   /// Extrusion kind
   inline static const std::string& ID()
   {
@@ -62,9 +62,6 @@ class CollectionPlugin_GroupSubstraction : public CollectionPlugin_Group
   /// Request for initialization of data model of the feature: adding all attributes
   COLLECTIONPLUGIN_EXPORT virtual void initAttributes();
 
-  /// Result of groups is created on the fly and don't stored to the document
-  COLLECTIONPLUGIN_EXPORT virtual bool isPersistentResult() {return true;}
-
   /// Use plugin manager for features creation
   CollectionPlugin_GroupSubstraction();