#include "HYDROGUI_CalculationOp.h"
#include "HYDROGUI_ChannelOp.h"
#include "HYDROGUI_DataModel.h"
+#include "HYDROGUI_CopyPastePositionOp.h"
#include "HYDROGUI_DeleteOp.h"
#include "HYDROGUI_DigueOp.h"
#include "HYDROGUI_ExportImageOp.h"
createAction( SplitImageId, "SPLIT_IMAGE", "SPLIT_IMAGE_ICO" );
createAction( EditSplittedImageId, "EDIT_SPLITTED_IMAGE", "EDIT_SPLITTED_IMAGE_ICO" );
+ createAction( CopyViewerPositionId, "COPY_VIEWER_POSITION", "" );
+
createAction( DeleteId, "DELETE", "", Qt::Key_Delete, false,
SLOT( onDelete() ) );
break;
case UpdateObjectId:
case ForcedUpdateObjectId:
- anOp = new HYDROGUI_UpdateObjectOp( aModule );
+ anOp = new HYDROGUI_UpdateObjectOp( aModule, theId == ForcedUpdateObjectId );
break;
case RemoveImageRefsId:
anOp = new HYDROGUI_RemoveImageRefsOp( aModule );
anOp = new HYDROGUI_ImportGeomObjectOp( aModule,
HYDROGUI_ImportGeomObjectOp::ImportCreatedAsObstacle, GEOMOp::OpCylinder );
break;
+ case CopyViewerPositionId:
+ anOp = new HYDROGUI_CopyPastePositionOp( aModule, false );
+ break;
case DeleteId:
anOp = new HYDROGUI_DeleteOp( aModule );
break;