Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction of icon
[modules/shaper.git]
/
src
/
PartSetPlugin
/
PartSetPlugin_Duplicate.h
diff --git
a/src/PartSetPlugin/PartSetPlugin_Duplicate.h
b/src/PartSetPlugin/PartSetPlugin_Duplicate.h
index 13d3df2cc497c8c27ed8c8654a0875c5179147a0..5aa92ed1a2d2b339c2a77fd46b6db0e34d3fb904 100644
(file)
--- a/
src/PartSetPlugin/PartSetPlugin_Duplicate.h
+++ b/
src/PartSetPlugin/PartSetPlugin_Duplicate.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: PartSetPlugin_Duplicate.h
// Created: 20 May 2014
// Author: Mikhail PONIKAROV
// File: PartSetPlugin_Duplicate.h
// Created: 20 May 2014
// Author: Mikhail PONIKAROV
@@
-8,7
+10,7
@@
#include "PartSetPlugin_Part.h"
/**\class PartSetPlugin_Duplicate
#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
* \brief Duplicates the active part (not root). Creates a new "part" feature.
*/
class PartSetPlugin_Duplicate : public PartSetPlugin_Part
@@
-20,19
+22,7
@@
class PartSetPlugin_Duplicate : public PartSetPlugin_Part
static const std::string MY_DUPLICATE_KIND("Duplicate");
return MY_DUPLICATE_KIND;
}
static const std::string MY_DUPLICATE_KIND("Duplicate");
return MY_DUPLICATE_KIND;
}
- /// Returns the kind of a feature
- PARTSETPLUGIN_EXPORT virtual const std::string& getKind()
- {
- static std::string MY_KIND = PartSetPlugin_Duplicate::ID();
- return MY_KIND;
- }
- /// the reference to copy: reference to the attribute
- inline static const std::string& ORIGIN_REF()
- {
- static const std::string MY_DUPLICATE_ID("Origin");
- return MY_DUPLICATE_ID;
- }
/// Makes a new part, copy of active
PartSetPlugin_Duplicate();
/// Makes a new part, copy of active
PartSetPlugin_Duplicate();