Salome HOME
updated copyright message
[modules/shaper.git] / src / SamplePanelPlugin / SamplePanelPlugin_Feature.h
old mode 100755 (executable)
new mode 100644 (file)
index 6c4db00..e2655ee
@@ -1,8 +1,21 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-// File:        SamplePanelPlugin_Feature.h
-// Created:     29 Mar 2015
-// Author:      Natalia ERMOLAEVA
+// 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
+// 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
+//
 
 #ifndef SAMPLEPANELPLUGIN_FEATURE_H_
 #define SAMPLEPANELPLUGIN_FEATURE_H_
@@ -21,12 +34,19 @@ class SamplePanelPlugin_Feature : public ModelAPI_Feature
   /// SketchShape feature kind
   inline static const std::string& ID()
   {
-    static const std::string MY_SAMPLE_PANEL_FEATURE_ID("SamplePanelFeature");
+    static const std::string MY_SAMPLE_PANEL_FEATURE_ID("QtPanelFeature");
     return MY_SAMPLE_PANEL_FEATURE_ID;
   }
 
+  /// Total number of objects, initial and translated objects
+  inline static const std::string& VALUE_ID()
+  {
+    static const std::string MY_VALUE_ID("Value");
+    return MY_VALUE_ID;
+  }
+
   /// Request for initialization of data model of the object: adding all attributes
-  virtual void initAttributes() {};
+  virtual void initAttributes();
 
   /// Returns the unique kind of a feature
   virtual const std::string& getKind() {