Salome HOME
5.2.3 Sketcher: ambiguity of the red cross in case of over-constraint
[modules/shaper.git] / src / ModuleBase / ModuleBase_IWorkshop.h
index 56ca626301444da926d7014608a8bb3b5c1d50f6..466b06641d828f285841f64c3e189555e2c5d9cd 100644 (file)
@@ -152,6 +152,15 @@ Q_OBJECT
   //! \param theAIS the object which has to be activated
   virtual void applyCurrentSelectionModes(const AISObjectPtr& theAIS) = 0;
 
+  //! Undo last command
+  virtual void undo() = 0;
+
+  //! Set enabled state of cancel button in property panel
+  virtual void setCancelEnabled(bool toEnable) = 0;
+
+  //! Returns current state of cancel button
+  virtual bool isCancelEnabled() const = 0;
+
 signals:
   /// Signal selection changed.
   void selectionChanged();