Salome HOME
Issue #2811: Update content of Object node on creation moment
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Recover.h
index 9016ddbd8076c807019f1ff671d15a6b42b8a702..6b2706d9bc7af03d14df0d308d0dbb0d006895c6 100644 (file)
@@ -1,8 +1,22 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-// File:        FeaturesPlugin_Recover.h
-// Created:     29 Jul 2016
-// Author:      Natalia ERMOLAEVA
+// 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 FEATURESPLUGIN_RECOVER_H_
 #define FEATURESPLUGIN_RECOVER_H_
@@ -46,13 +60,6 @@ class FeaturesPlugin_Recover : public ModelAPI_Feature
     return MY_RECOVERED_ENTITIES_ID;
   }
 
-  /// Attribute name of persistenc concealment flag.
-  inline static const std::string& PERSISTENT()
-  {
-    static const std::string MY_PERSISTENT_ID("persistent");
-    return MY_PERSISTENT_ID;
-  }
-
   /// Returns the kind of a feature
   FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
   {
@@ -69,26 +76,6 @@ class FeaturesPlugin_Recover : public ModelAPI_Feature
   /// Use plugin manager for features creation
   FeaturesPlugin_Recover();
 
-  /// Called on change of any argument-attribute of this object. Needed here for synchronization
-  /// of registered unconcealed.
-  virtual void attributeChanged(const std::string& theID);
-
-  /// Synchronises myRegistered before all attributes are erased
-  virtual void erase();
-
-  /// on unstability of feature, remove all unconcealment effect
-  virtual bool setStable(const bool theFlag);
-  /// on disable of feature, remove all unconcealment effect
-  virtual bool setDisabled(const bool theFlag);
-private:
-  /// Synchronises registration of unconcealed entities with the attributes values of this feature
-  void synchronizeRegistered();
-
-  /// Returns the base feature of this
-  FeaturePtr baseFeature();
-
-  /// erases all registered cashed values
-  void clearRegistered();
 };
 
 #endif