Salome HOME
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ChannelOp.h
index f1456eebc6cf2a5ce3a4175b19012f3e9d79ff8e..ddb294ef771e4c59b7e791e2e69f9e279c7d7d01 100644 (file)
@@ -49,12 +49,14 @@ protected:
   virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
 
 protected slots:
-  void                       onCreatePreview( const bool theIsInit = false );
+  virtual void               onCreatePreview( const bool theIsInit = false );
 
-private:
-  void                       erasePreview();
+protected:
+  virtual void               erasePreview();
+
+  virtual Handle(HYDROData_Channel) getObjectToEdit() const;
 
-private:
+protected:
   bool                       myIsEdit;
   Handle(HYDROData_Channel)  myEditedObject;