Salome HOME
Observe Image operation.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Operations.cxx
index 634c20b75ec94464192ffaa360130c58eebc22be..e173c54b1538d7bd9b5070ab6c79191ba21c6b24 100644 (file)
@@ -27,6 +27,7 @@
 #include "HYDROGUI_ExportImageOp.h"
 #include "HYDROGUI_ImportImageOp.h"
 #include "HYDROGUI_Module.h"
+#include "HYDROGUI_ObserveImageOp.h"
 #include "HYDROGUI_PolylineOp.h"
 #include "HYDROGUI_ShowHideOp.h"
 #include "HYDROGUI_TwoImagesOp.h"
@@ -65,6 +66,7 @@ void HYDROGUI_Module::createActions()
 {
   createAction( ImportImageId, "IMPORT_IMAGE", "", Qt::CTRL + Qt::Key_I );
   createAction( EditImageId, "EDIT_IMAGE" );
+  createAction( ObserveImageId, "OBSERVE_IMAGE" );
   createAction( ExportImageId, "EXPORT_IMAGE" );
   createAction( CreatePolylineId, "CREATE_POLYLINE" );
   createAction( EditPolylineId, "EDIT_POLYLINE" ); 
@@ -209,6 +211,9 @@ LightApp_Operation* HYDROGUI_Module::createOperation( const int theId ) const
   case EditImageId:
     anOp = new HYDROGUI_ImportImageOp( aModule, theId == EditImageId );
     break;
+  case ObserveImageId:
+    anOp = new HYDROGUI_ObserveImageOp( aModule );
+    break;
   case ExportImageId:
     anOp = new HYDROGUI_ExportImageOp( aModule );
     break;