Salome HOME
17.12.2013. Added Partition algorithm (draft version).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Zone.h
index ee25b8023e3f2c262c0d9052381a0565bdd9c435..e960de24508215749b4743f4ec5e2038690951e2 100644 (file)
@@ -45,10 +45,12 @@ public:
    * \param theParent parent data object
    * \param theData reference to the corresponding object from data structure
    * \param theParentEntry entry of the parent data object (for reference objects)
+   * \param theIsInOperation if true then the tree is used for a browser within an operation, it is false by default
    */
-  HYDROGUI_Zone( SUIT_DataObject* theParent,
-                       Handle(HYDROData_Zone) theData,
-                       const QString& theParentEntry );
+  HYDROGUI_Zone( SUIT_DataObject*       theParent,
+                 Handle(HYDROData_Zone) theData,
+                 const QString&         theParentEntry,
+                 const bool             theIsInOperation = false );
     
   /**
    * Returns the text for the specified column.
@@ -65,6 +67,9 @@ public:
    */
   bool        isDraggable() const { return true; }
 
+  bool        renameAllowed( const int = NameId ) const;
+  //bool        setName( const QString& );
+
   /**
    * Returns true if it is a zone which needs merge of bathymetries.
    */