#include "ModuleBase_Definitions.h"
#include <ModelAPI_Object.h>
+#include <ModelAPI_Attribute.h>
#include <GeomAPI_Shape.h>
class Config_WidgetAPI;
virtual bool isViewerSelector() { return true; }
/// Activate or deactivate selection and selection filters
- void activateSelectionAndFilters(bool toActivate);
+ virtual void activateSelectionAndFilters(bool toActivate);
/// Checks the widget validity. By default, it returns true.
/// \param thePrs a selected presentation in the view
GeomShapePtr& theShape);
//----------- Class members -------------
+ /// Returns a name in the next form: attribute_feature_name/attribute_id
+ /// \param theAttribute a model attribute
+ /// \return string value
+ static std::string generateName(const AttributePtr& theAttribite,
+ ModuleBase_IWorkshop* theWorkshop);
};
#endif