Salome HOME
Merge remote-tracking branch 'origin/BR_LAND_COVER_MAP' into BR_LAND_COVER_REMOVING
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_DataModel.h
index caaa234d82b14a59dedb8f9d12a08168be34c674..6d735d86fb522659a30562395f1484838be258ef 100644 (file)
@@ -150,8 +150,7 @@ public:
    * Create a new region in the given calculation case containing given zones. 
    */
   bool createNewRegion( Handle(HYDROData_CalculationCase) theCase,
-                        const QList<HYDROGUI_Zone*>& theZonesList,
-                        const bool theLandCover );
+                        const QList<HYDROGUI_Zone*>& theZonesList );
 
   /**
    * Correct an internal model object according to the current document mode
@@ -236,8 +235,7 @@ public:
    * \param theLandCover if true - land cover regions will be represented in the tree
    */
   void buildCaseTree( SUIT_DataObject*                  theParent,
-                      Handle(HYDROData_CalculationCase) theCase,
-                      const bool theLandCover );
+                      Handle(HYDROData_CalculationCase) theCase );
 
   /**
    * Updates the object subtree.
@@ -376,6 +374,15 @@ protected:
 
   void updateDocument();
 
+  /**
+   * Set object visibility state.
+   * \param theModelObject the data model object
+   * \param theDataObject the GUI object
+   */
+  void setObjectVisibilityState( Handle(HYDROData_Entity) theModelObject,
+                                 HYDROGUI_DataObject* theObject );
+                                 
+
 protected:
   QString myStudyURL; ///< the saved/opened document URL
   QByteArray myStates;