#undef TO_STRING
}
-QString ModuleBase_IModule::getFeatureError(const FeaturePtr& theFeature)
+QString ModuleBase_IModule::getFeatureError(const FeaturePtr& theFeature, const bool isCheckGUI)
{
QString anError;
if (!theFeature.get() || !theFeature->data()->isValid() || theFeature->isAction())
return aMgr->hasModuleDocument() && aMgr->canRedo() && !aMgr->isOperation();
}
-bool ModuleBase_IModule::canCommitOperation() const
-{
- return true;
-}
-
void ModuleBase_IModule::onFeatureTriggered()
{
QAction* aCmd = dynamic_cast<QAction*>(sender());
return !aFOperation || !aFOperation->hasObject(theObject);
}
-void ModuleBase_IModule::onOperationResumed(ModuleBase_Operation* theOperation)
+void ModuleBase_IModule::operationResumed(ModuleBase_Operation* theOperation)
{
- emit operationResumed(theOperation);
+ emit resumed(theOperation);
}