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 a0a117a92bfaed27cab0e28ac4751a540f290622..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();
 
@@ -181,6 +193,8 @@ protected slots:
   void                            onExternalOperationFinished( const QString&, const QString&, 
                                                                const QStringList& );
 
+  void                            onMouseMove( SUIT_ViewWindow*, QMouseEvent* );
+
 private:
   void                            updateViewer( HYDROGUI_AbstractDisplayer* theDisplayer, 
                                                 const bool theIsInit = false,