* 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
* \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.
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;