return myOperationMgr;
}
+ //! ! Returns error manager.
+ XGUI_ErrorMgr* errorMgr() const
+ {
+ return myErrorMgr;
+ }
+
//! ! Returns an actions manager
XGUI_ActionsMgr* actionsMgr() const
{
/// \param theUpdateViewer a boolean flag to update viewer immediately
void deactivateActiveObject(const ObjectPtr& theObject, const bool theUpdateViewer);
+ /// Returns true if the action of the feature is created to contain Accept/Cancel button
+ /// \param theFeature a feature
+ bool isFeatureOfNested(const FeaturePtr& theFeature);
+
signals:
/// Emitted when selection happens in Salome viewer
void salomeViewerSelection();
/// Set waiting cursor
void onStartWaiting();
+ /// Called by Ok button clicked in the property panel. Asks the error manager whether
+ /// the operation can be commited and do it if it returns true.
+ void onAcceptActionClicked();
+
+ /// Listens the corresponded signal from operation manager and send it with the Ok
+ /// action to operation manager.
+ /// \param theEnabled an enabled state for the action
+ //void onValidationStateChanged(bool theEnabled);
+
+ //connect(myOperationMgr, SIGNAL(validationStateChanged(bool)),
+ // aOkAct, SLOT(setEnabled(bool)));
+
+
private:
/// Init menu
void initMenu();