]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Config/Config_WidgetAPI.h
Salome HOME
Issue #1005: To improve user-friendship of error-messages for features and attributes
[modules/shaper.git] / src / Config / Config_WidgetAPI.h
index e9531e49fb7af27c9615c666c2e172a0a7af2df9..1801f2de6c31ce376e66451727d9518f8026c62f 100644 (file)
@@ -45,6 +45,8 @@ class CONFIG_EXPORT Config_WidgetAPI
   //! Page is container widget with combo box control to switch between pages
   bool isPagedWidget() const;
 
+  //! Returns id of current feature
+  std::string featureId() const;
   //! Returns id of current widget
   std::string widgetId() const;
   //! Returns icon of current widget
@@ -78,6 +80,7 @@ class CONFIG_EXPORT Config_WidgetAPI
  private:
   xmlDocPtr myDoc; //!< Pointer to the root of widget's xml definition
   xmlNodePtr myCurrentNode; //!< Pointer to the current node in the widget's xml definition
+  std::string myFeatureId;
 
   friend class ModuleBase_WidgetFactory;
 };