Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index 3b09238fa18238279c59bc3058b903541c9b24ed..dc1e7cbc24122262c43fe051787cf3e3f11290b4 100644 (file)
@@ -150,6 +150,18 @@ public:
 
   QStringList                     GetGeomObjectsToImport();
 
+  /**
+   * Returns true if the object with the given entry can be renamed.
+   * @param theEntry the object entry
+   */
+  virtual bool                    renameAllowed( const QString& theEntry ) const;
+  /**
+   * Returns true if the object with the given entry is renamed.
+   * @param theEntry the object entry
+   * @param theName the new name
+   */
+  virtual bool                    renameObject( const QString& theEntry, const QString& theName );
+
 protected:
   CAM_DataModel*                  createDataModel();