ObjectPtr XGUI_ModuleConnector::findPresentedObject(const AISObjectPtr& theAIS) const
{
XGUI_Displayer* aDisp = myWorkshop->displayer();
- return aDisp->getObject(theAIS);
+ ObjectPtr anObject = aDisp->getObject(theAIS);
+ return anObject;
}
void XGUI_ModuleConnector::setSelected(const QList<ModuleBase_ViewerPrs>& theValues)
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);
+}
+
+void XGUI_ModuleConnector::updateCommandStatus()
+{
+ myWorkshop->updateCommandStatus();
+}
\ No newline at end of file