Salome HOME
Make preview of python Box feature working correctly
[modules/shaper.git] / src / PartSetPlugin / PartSetPlugin_Duplicate.h
index b5e48183f54196eb8989e053d5839d45f2f7dacd..5aa92ed1a2d2b339c2a77fd46b6db0e34d3fb904 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        PartSetPlugin_Duplicate.h
 // Created:     20 May 2014
 // Author:      Mikhail PONIKAROV
 #include "PartSetPlugin_Part.h"
 
 /**\class PartSetPlugin_Duplicate
- * \ingroup DataModel
+ * \ingroup Plugins
  * \brief Duplicates the active part (not root). Creates a new "part" feature.
  */
 class PartSetPlugin_Duplicate : public PartSetPlugin_Part
 {
  public:
-  /// the reference to copy: reference to the attribute
-  inline static const std::string& ORIGIN_REF()
+    /// Duplicate kind
+  inline static const std::string& ID()
   {
-    static const std::string MY_DUPLICATE_ID("Origin");
-    return MY_DUPLICATE_ID;
+    static const std::string MY_DUPLICATE_KIND("Duplicate");
+    return MY_DUPLICATE_KIND;
   }
+
   /// Makes a new part, copy of active
   PartSetPlugin_Duplicate();