Salome HOME
Provide hasPreview method for operations with preview
[modules/shaper.git] / src / ModuleBase / ModuleBase_Operation.h
index 8e36a770463e439e5905ba01eea507fe27937502..17be4cba4286a6e6e63ea45c6ed6e3ec622c681a 100644 (file)
@@ -79,6 +79,10 @@ Q_OBJECT
 
   virtual void activateNextToCurrentWidget() {};
 
+  /// If operation needs to redisplay its result during operation
+  /// then this method has to return True
+  virtual bool hasPreview() const { return false; }
+
  public slots:
   /// Slots which listen the mode widget activation
   /// \param theWidget the model widget