Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineOp.h
index c7fbe6582b5fb85a72146f3a77ab8425692cae9d..25b2f8dc178b341e03bce0e443ca1f08c72e1862 100755 (executable)
 
 #include "HYDROGUI_Operation.h"
 
-#include <HYDROData_Polyline.h>
+#include <HYDROData_PolylineXY.h>
 
-class OCCViewer_ViewManager;
 class CurveCreator_Curve;
-class CurveCreator_Displayer;
 
 class HYDROGUI_PolylineOp : public HYDROGUI_Operation
 {
@@ -42,6 +40,8 @@ public:
   void                       deleteSelected();
   bool                       deleteEnabled();
 
+  virtual void               updatePreviewZLayer( int theLayer );
+
 protected:
   virtual void               startOperation();
   virtual void               abortOperation();
@@ -49,7 +49,8 @@ protected:
 
   virtual HYDROGUI_InputPanel* createInputPanel() const;
 
-  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
+  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg,
+                                           QStringList& theBrowseObjectsEntries );
 
 protected slots:
   void                       onEditorSelectionChanged();
@@ -59,12 +60,9 @@ private:
   void                       erasePreview();
 
 private:
-  OCCViewer_ViewManager*     myViewManager;
-
-  bool                       myIsEdit;
-  Handle(HYDROData_Polyline) myEditedObject;
-  CurveCreator_Curve*        myCurve;
-  CurveCreator_Displayer*     myCurveDisplayer;
+  bool                         myIsEdit;
+  Handle(HYDROData_PolylineXY) myEditedObject;
+  CurveCreator_Curve*          myCurve;
 };
 
 #endif