Salome HOME
Issue #2660: Update data model before save.
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_Field.h
index 162720f9186b56e02b643132e02c2f6d1efce0ae..5f90fac7140e07a9f4661c185a5d65ba884d47fc 100644 (file)
@@ -1,8 +1,22 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-// File:        CollectionPlugin_Group.h
-// Created:     14 Nov 2016
-// Author:      Mikhail PONIKAROV
+// 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>
+//
 
 #ifndef COLLECTIONPLUGIN_FIELD_H_
 #define COLLECTIONPLUGIN_FIELD_H_
@@ -29,7 +43,7 @@
 class CollectionPlugin_Field : public ModelAPI_Feature
 {
  public:
-  /// Extrusion kind
+  /// Feature kind
   inline static const std::string& ID()
   {
     static const std::string MY_FIELD_ID("Field");
@@ -41,30 +55,12 @@ class CollectionPlugin_Field : public ModelAPI_Feature
     static const std::string MY_SELECTED_ID("selected");
     return MY_SELECTED_ID;
   }
-  /// attribute name of components number
-  inline static const std::string& COMPONENTS_NB_ID()
-  {
-    static const std::string MY_COMPONENTS_NB_ID("components_nb");
-    return MY_COMPONENTS_NB_ID;
-  }
   /// attribute name of componenets titles array
   inline static const std::string& COMPONENTS_NAMES_ID()
   {
     static const std::string MY_COMPONENTS_NAMES_ID("components_names");
     return MY_COMPONENTS_NAMES_ID;
   }
-  /// attribute name of values types integer identifier
-  inline static const std::string& VALUES_TYPE_ID()
-  {
-    static const std::string MY_VALUES_TYPE_ID("type");
-    return MY_VALUES_TYPE_ID;
-  }
-  /// attribute name of number of steps
-  inline static const std::string& STEPS_NB_ID()
-  {
-    static const std::string MY_STEPS_NB_ID("steps_nb");
-    return MY_STEPS_NB_ID;
-  }
   /// attribute name of stamps integer array
   inline static const std::string& STAMPS_ID()
   {