Salome HOME
WidgetMultiSelector preparation to use ModelAPI_AttributeRefAttrList.
[modules/shaper.git] / src / ModuleBase / ModuleBase_Operation.cpp
index 009502dcb6f525c7076369ec593aff5780cfed70..8b19dcd8270b9c0a57a0f5f1826ba605c911b774 100644 (file)
@@ -60,16 +60,6 @@ void ModuleBase_Operation::setGrantedOperationIds(const QStringList& theList)
   myGrantedIds = theList;
 }
 
-void ModuleBase_Operation::addGrantedOperationId(const QString& theId)
-{
-  myGrantedIds.append(theId);
-}
-
-void ModuleBase_Operation::removeGrantedOperationId(const QString& theId)
-{
-  myGrantedIds.removeAll(theId);
-}
-
 QString ModuleBase_Operation::id() const
 {
   return getDescription()->operationId();
@@ -85,7 +75,7 @@ bool ModuleBase_Operation::canBeCommitted() const
   return isValid();
 }
 
-void ModuleBase_Operation::start()
+bool ModuleBase_Operation::start()
 {
   myIsModified = false;
 
@@ -93,6 +83,8 @@ void ModuleBase_Operation::start()
 
   startOperation();
   emit started();
+
+  return true;
 }
 
 void ModuleBase_Operation::postpone()