X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IModule.h;h=6ae486f6c72c7d8c8170be9716eb25773d2ef48e;hb=9d2e6d9c21e4f16817ca5b572847fe323f6ef32a;hp=1b3081dd976012fba8772e83870c09b9500b76f7;hpb=18dab619179f5dd1f89aedce9154d6802b0de27f;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IModule.h b/src/ModuleBase/ModuleBase_IModule.h index 1b3081dd9..6ae486f6c 100644 --- a/src/ModuleBase/ModuleBase_IModule.h +++ b/src/ModuleBase/ModuleBase_IModule.h @@ -117,6 +117,11 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject /// \param theObject a model object virtual bool canDisplayObject(const ObjectPtr& theObject) const; + /// Returns true if selection for the object can be activate. + /// By default a result or feature of the current operation can not be activated + /// \param theObject a model object + virtual bool canActivateSelection(const ObjectPtr& theObject) const; + /// Reacts to the delete action in module /// \returns true if the action is processed virtual bool deleteObjects() { return false; };