]> SALOME platform Git repositories - modules/hydro.git/blobdiff - src/HYDROGUI/HYDROGUI_DataObject.cxx
Salome HOME
Name validator is added to the Calculation Case dialog.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_DataObject.cxx
index 83be9e8fb4a7230e9b40486228f37da91faeb6e1..133a99d36ff72d7e2fa2ba00abadb27e70af2e3f 100644 (file)
@@ -25,6 +25,7 @@
 #include <HYDROData_Image.h>
 #include <HYDROData_Zone.h>
 #include <HYDROData_Object.h>
+#include <HYDROData_Bathymetry.h>
 
 #include <SUIT_DataObject.h>
 
@@ -94,12 +95,12 @@ QString HYDROGUI_DataObject::text( const int theColumnId ) const
             switch ( theColumnId )
             {
               case RefObjectId:
+                // Get Ref.Object name
                 aRes += aRefGeomObj->GetName() + ", ";
                 break;
               case BathymetryId:
-                //TODO: Get bathymetry name
-                //aRes += aRefGeomObj->
-                ;
+                // Get bathymetry name
+                aRes += aRefGeomObj->GetBathymetry()->GetName();
             }
           }
         }