{
XGUI_Displayer* aDisp = myWorkshop->displayer();
ObjectPtr anObject = aDisp->getObject(theAIS);
- if (!anObject.get())
- anObject = module()->findPresentedObject(theAIS);
return anObject;
}
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);
+}