Salome HOME
Merge branch 'BR_ADVANCED_CURRENT_FEATURE_MANAGEMENT' into Dev_1.5.0
authormpv <mpv@opencascade.com>
Mon, 12 Oct 2015 08:58:19 +0000 (11:58 +0300)
committermpv <mpv@opencascade.com>
Mon, 12 Oct 2015 08:58:19 +0000 (11:58 +0300)
1  2 
src/ModuleBase/ModuleBase_OperationFeature.cpp
src/XGUI/XGUI_OperationMgr.cpp
src/XGUI/XGUI_OperationMgr.h

Simple merge
index f6c25a87b439909f5e753dc154c41ac4d78ed4ab,4a9839b9a63865b8ff98e6ff75ede04a60892ee2..052aa86b5c9cd20e968337d7094251f750cdf298
@@@ -170,10 -171,14 +171,14 @@@ protected: // TEMPORAR
    /// Returns whether the parameter operation is granted in relation to the previous operation
    /// in a stack of started operations. It is used in canStopOperation to avoid warning message
    /// when granted operation is aborted, e.g. SketchLine in Sketch
 -  /// \param theOperation the started operation
 +  /// \param theId id of the operation which is checked
    /// \return boolean result
 -  bool isGrantedOperation(ModuleBase_Operation* theOperation);
 +  bool isGrantedOperation(const QString& theId);
  
+   /// Sets the feature as a current in the document
+   /// \param theFeature a feature
+   void setCurrentFeature(const FeaturePtr& theFeature);
   public slots:
    /// SLOT, that is called by the key in the property panel is clicked.
    /// \param theEvent the mouse event