+ void setEditedObject( const Handle(HYDROData_CalculationCase) theCase );
+
+ void setAllGeomObjects( const QStringList& theObjects, const QStringList& theObjectsEntries );
+ void setPolylineNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
+ QStringList getSelectedGeomObjects() const;
+ QStringList getSelectedAvailableGeomObjects() const;
+ QStringList getSelectedGroups() const;
+ QStringList getSelectedAvailableGroups() const;
+ HYDROGUI_Zone* getCurrentZone() const;
+
+ void setAvailableGroups( const QStringList& );
+
+public slots:
+ void setBoundary( const QString& theObjName );
+ void includeGeomObjects( const QStringList& theObjects );
+ void excludeGeomObjects( const QStringList& theObjects );
+ void includeGroups( const QStringList& theObjects );
+ void excludeGroups( const QStringList& theObjects );
+ void onEmptyName();
+ void onAlreadyExists( QString theName );
+ void refreshZonesBrowser();
+ void onDataChanged();
+ /**
+ * Process items selection: hide/show bathymetry merge type selector.
+ */
+ void onSelected( SUIT_DataObject* theObject );
+ /**
+ * Process merge type selection: set the selected bathymetry merge type for the currently selected zone.
+ */
+ void onMergeTypeSelected( int theIndex );
+ /**
+ * Process zones moving. Create a new region with dropped zones or add to existing one.
+ */
+ void onZonesDropped( const QList<SUIT_DataObject*>& theList,
+ SUIT_DataObject* theTargetParent, int theTargetRow, Qt::DropAction theDropAction );
+
+signals:
+ void addObjects();
+ void removeObjects();
+ void objectsSelected();
+
+ void addGroups();
+ void removeGroups();
+ void groupsSelected();
+
+ void boundarySelected( const QString & theObjName );
+ void setMergeType( int theMergeType, QString& theBathymetryName );
+ void createRegion( const QList<SUIT_DataObject*>& theZonesList );
+ void moveZones( SUIT_DataObject* theRegion, const QList<SUIT_DataObject*>& theZonesList );
+ void clickedInZonesBrowser( SUIT_DataObject* );
+
+protected:
+
+ virtual bool acceptCurrent() const;