]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_IModule.cpp
Salome HOME
Preparations for Split operation. It includes:
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.cpp
index a41824958fb45b5735dd4146ce14a2de924df9ac..424260dcb89d5921991948e06550a0c22b040d30 100644 (file)
@@ -69,8 +69,7 @@ void ModuleBase_IModule::launchModal(const QString& theCmdId)
 }
 
 
-void ModuleBase_IModule::launchOperation(const QString& theCmdId,
-                                         const bool isUpdatePropertyPanel)
+void ModuleBase_IModule::launchOperation(const QString& theCmdId)
 {
   if (!myWorkshop->canStartOperation(theCmdId))
     return;
@@ -81,17 +80,10 @@ void ModuleBase_IModule::launchOperation(const QString& theCmdId,
     ModuleBase_ISelection* aSelection = myWorkshop->selection();
     // Initialise operation with preliminary selection
     aFOperation->initSelection(aSelection, myWorkshop->viewer());
-    sendOperation(aFOperation, isUpdatePropertyPanel);
+    workshop()->processLaunchOperation(aFOperation);
   }
 }
 
-
-void ModuleBase_IModule::sendOperation(ModuleBase_Operation* theOperation,
-                                       const bool isUpdatePropertyPanel)
-{
-  workshop()->processLaunchOperation(theOperation, isUpdatePropertyPanel);
-}
-
 Handle(AIS_InteractiveObject) ModuleBase_IModule::createPresentation(const ResultPtr& theResult)
 {
   return Handle(AIS_InteractiveObject)();
@@ -225,7 +217,7 @@ void ModuleBase_IModule::editFeature(FeaturePtr theFeature)
                                                          (createOperation(aFeatureId));
   if (aFOperation) {
     aFOperation->setFeature(theFeature);
-    sendOperation(aFOperation);
+    workshop()->processLaunchOperation(aFOperation);
   }
 }