+//******************************************************
+void SHAPERGUI::logShaperGUIEvent()
+{
+ QAction* anAction = static_cast<QAction*>(sender());
+ QString anId = anAction->data().toString();
+ QString anEventDescription ("SHAPER");
+ if (anId.contains("Sketch"))
+ anEventDescription += " sketcher";
+ anEventDescription += ": ";
+ anEventDescription += anAction->text();
+ anEventDescription += " has been started";
+ CAM_Application::logUserEvent(anEventDescription);
+}
+
+//******************************************************
+void SHAPERGUI::onOperationCommitted(ModuleBase_Operation* theOperation)
+{
+ //QString anEventDescription ("SHAPER operation has been committed");
+ QString anEventDescription ("SHAPER operation ");
+ anEventDescription += theOperation->id();
+ anEventDescription += " has been committed";
+ CAM_Application::logUserEvent(anEventDescription);
+}
+
+//******************************************************
+void SHAPERGUI::onOperationAborted(ModuleBase_Operation* theOperation)
+{
+ QString anEventDescription ("SHAPER operation ");
+ anEventDescription += theOperation->id();
+ anEventDescription += " has been aborted";
+ CAM_Application::logUserEvent(anEventDescription);
+}
+