+void HYDROGUI_Operation::startDocOperation()
+{
+ // Open transaction in the model document
+ if ( !doc()->IsOperation() )
+ doc()->StartOperation();
+}
+
+void HYDROGUI_Operation::abortDocOperation()
+{
+ // Abort transaction in the model document
+ if ( doc()->IsOperation() )
+ doc()->AbortOperation();
+}
+
+void HYDROGUI_Operation::commitDocOperation()
+{
+ // Commit transaction in the model document
+ if ( doc()->IsOperation() )
+ doc()->CommitOperation( HYDROGUI_Tool::ToExtString( getName() ) );
+}
+