Salome HOME
#refs 327 - Polyline is not shown during creation
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_StreamOp.h
index 0d35f92e509de4715a9379b647e30a50842fb2be..cee48b2da7c0f86645155685a25cb2308ee756b2 100755 (executable)
@@ -27,7 +27,6 @@
 
 #include <HYDROData_Stream.h>
 
-class OCCViewer_ViewManager;
 class HYDROGUI_Shape;
 
 class HYDROGUI_StreamOp : public HYDROGUI_Operation
@@ -48,20 +47,19 @@ protected:
 
   virtual bool                 processApply( int& theUpdateFlags, QString& theErrorMsg );
 
-private slots:
-  void                         onCreatePreview();
+  virtual bool                 isToAbortOnApply() const { return false; }
 
+private slots:
   void                         onAddProfiles();
   void                         onRemoveProfiles( const QStringList& );
   void                         onAxisChanged( const QString& );
 
 private:
+  void                         createPreview();
   void                         erasePreview();
-  void                         updatePanel();
+  void                         updatePanelData();
 
 private:
-  OCCViewer_ViewManager*       myViewManager;
-
   bool                         myIsEdit;
   Handle(HYDROData_Stream)     myEditedObject;