Salome HOME
Disable button of active operation.
[modules/shaper.git] / src / XGUI / XGUI_ModuleConnector.cpp
index 700b25bc725560ac7eb5c0dcaafe3cdbd88b044b..ee5f029d8445a4dd698c781be9e7555f00ae9bc0 100644 (file)
@@ -118,3 +118,17 @@ bool XGUI_ModuleConnector::canStartOperation(QString theId)
   return myWorkshop->operationMgr()->canStartOperation(theId);
 }
 
+ModuleBase_Operation* XGUI_ModuleConnector::findStartedOperation(const QString& theId)
+{
+  return myWorkshop->operationMgr()->findOperation(theId);
+}
+
+bool XGUI_ModuleConnector::canStopOperation(ModuleBase_Operation* theOperation)
+{
+  return myWorkshop->operationMgr()->canStopOperation(theOperation);
+}
+
+void XGUI_ModuleConnector::abortOperation(ModuleBase_Operation* theOperation)
+{
+  myWorkshop->operationMgr()->abortOperation(theOperation);
+}