/// Call back forlast tuning of property panel before operation performance
virtual void propertyPanelDefined(ModuleBase_Operation* theOperation);
+ /// Creates an operation and send it to loop
+ /// \param theCmdId the operation name
+ virtual void launchOperation(const QString& theCmdId);
+
/// Realizes some functionality by an operation start
/// Displays all sketcher sub-Objects, hides sketcher result, appends selection filters
/// Activate the operation presentation
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;
};