Salome HOME
Adding Naming DS for Placement operation.
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Group.h
index 12d298704092c61778d7bed1e75818144223dc99..e306842a54a46f96dbb6f3105a3ee043aa0985d8 100644 (file)
@@ -18,18 +18,12 @@ class FeaturesPlugin_Group : public ModelAPI_Feature
     static const std::string MY_GROUP_ID("Group");
     return MY_GROUP_ID;
   }
-  /// attribute name of group type
-  inline static const std::string& NAME_ID()
-  {
-    static const std::string MY_GROUP_NAME_ID("group_name");
-    return MY_GROUP_NAME_ID;
-  }
-  /// attribute name of group type
-  inline static const std::string& TYPE_ID()
-  {
-    static const std::string MY_GROUP_TYPE_ID("group_type");
-    return MY_GROUP_TYPE_ID;
-  }
+  /// attribute name of group name
+  //inline static const std::string& NAME_ID()
+  //{
+  //  static const std::string MY_GROUP_NAME_ID("group_name");
+  //  return MY_GROUP_NAME_ID;
+  //}
   /// attribute name of selected entities list
   inline static const std::string& LIST_ID()
   {
@@ -50,6 +44,9 @@ class FeaturesPlugin_Group : public ModelAPI_Feature
   /// Request for initialization of data model of the feature: adding all attributes
   FEATURESPLUGIN_EXPORT virtual void initAttributes();
 
+  /// Result of groups is created on the fly and don't stored to the document
+  FEATURESPLUGIN_EXPORT virtual bool isPersistentResult() {return true;}
+
   /// Use plugin manager for features creation
   FeaturesPlugin_Group();