PartSet_SketcherMgr* sketchMgr() const { return mySketchMgr; }
+#ifdef ModuleDataModel
/// Returns data model object for representation of data tree in Object browser
virtual ModuleBase_IDocumentDataModel* dataModel() const { return myDataModel; }
+#endif
/// Performs functionality on closing document
virtual void closeDocument();
/// \param theStdActions - a map of standard actions
virtual void updateViewerMenu(const QMap<QString, QAction*>& theStdActions);
+ //! Returns the feature error if the current state of the feature in the module is not correct
+ //! If the feature is correct, it returns an empty value
+ //! \return string value
+ virtual QString getFeatureError(const FeaturePtr& theFeature);
+
public slots:
/// SLOT, that is called by no more widget signal emitted by property panel
/// Set a specific flag to restart the sketcher operation
PartSet_CustomPrs* myCustomPrs;
int myVisualLayerId;
+ bool myHasConstraintShown;
+#ifdef ModuleDataModel
PartSet_DocumentDataModel* myDataModel;
+#endif
QModelIndex aActivePartIndex;
};