/// \return a boolean value\r
virtual bool canCommitOperation() const;\r
\r
+ /// Returns whether the object can be erased. The default realization returns true.\r
+ /// \param theObject a model object\r
+ virtual bool canEraseObject(const ObjectPtr& theObject) const;\r
+\r
/// Returns whether the object can be displayed. The default realization returns true.\r
/// \param theObject a model object\r
virtual bool canDisplayObject(const ObjectPtr& theObject) const;\r
* If the object is result with the color attribute value set, it is used,\r
* otherwise the customize is applyed to the object's feature if it is a custom prs\r
* \param theObject an object instance\r
+ * \param theUpdateViewer the parameter whether the viewer should be update immediatelly\r
+ * \returns true if the object is modified\r
*/\r
- virtual void customizeObject(ObjectPtr theObject) {}\r
+ virtual bool customizeObject(ObjectPtr theObject, const bool theUpdateViewer);\r
\r
/// This method is called on object browser creation for customisation of module specific features\r
/// \param theObjectBrowser a pinter on Object Browser widget\r