Salome HOME
refs #568: use ordered list view with selection synchronized with object browser...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CalculationOp.h
index 467d1a39f53e2716ad0dde57497c763af6b626cb..4966ee3cde0e3152a198dea7285e69dc59a822e4 100644 (file)
@@ -62,12 +62,6 @@ protected slots:
    */
   void                            onChangeMode( int theMode );
 
-  /**
-   * Change the creation mode related to land covers.
-   * @param theMode the mode to set
-   */
-  void                            onChangeLandCoverMode( int theMode );
-
   /**
    * Add geometry objects selected in the module browser to the calculation case.
    */
@@ -86,6 +80,21 @@ protected slots:
    */
   void                            onRemoveGroups();
 
+  /**
+   * Change the creation mode related to land covers.
+   * @param theMode the mode to set
+   */
+  void                            onChangeLandCoverMode( int theMode );
+
+  /**
+   * Add land covers selected in the module browser to the calculation case.
+   */
+  void                            onAddLandCovers();
+  /**
+   * Remove selected land covers from the calculation case.
+   */
+  void                            onRemoveLandCovers();
+
   /**
    * Set the given bathymetry merge type to the current zone.
    */
@@ -116,6 +125,10 @@ protected slots:
    * Geometry object is selected in the list on the first wizard page
    */
   void                            onObjectsSelected();
+  /** 
+   * Land cover is selected in the list on the third wizard page
+   */
+  void                            onLandCoversSelected();
   /** 
    * Boundary polyline is selected in the list on the first wizard page
    */
@@ -156,12 +169,15 @@ private:
                                                              float theSaturation = 0.5,
                                                              float theValue = 0.95 ) const;
 
+  void                            setRules( HYDROData_CalculationCase::DataTag theDataTag );
+
   bool confirmRegionsChange() const;
   bool confirmModeChange() const;
   bool confirmOrderChange() const;
   bool confirmContinueWithWarning( const HYDROData_Warning& theWarning ) const;
 
   bool confirmLandCoverModeChange() const;
+  bool confirmLandCoverOrderChange() const;
 
 private:
   bool                            myIsEdit;