X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IModule.h;h=9420d1e74d8818724ca2547c8e02fb9a9a5213a4;hb=a2982d2108f929cf9e7f996cfd590c4ce59dc21c;hp=29cdc430d099e3f81ecf3258f6c6b681ae90d610;hpb=db0e21ea2f1117dd9af3320009ba8b50dc2e828b;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IModule.h b/src/ModuleBase/ModuleBase_IModule.h index 29cdc430d..9420d1e74 100644 --- a/src/ModuleBase/ModuleBase_IModule.h +++ b/src/ModuleBase/ModuleBase_IModule.h @@ -23,6 +23,7 @@ class ModuleBase_Operation; class ModuleBase_IWorkshop; /** + * \ingroup GUI * Interface to a module */ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject @@ -87,6 +88,11 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject /// It is called as on clearing of property panel as on filling with new widgets virtual void propertyPanelDefined(ModuleBase_Operation* theOperation) {} + /// Returns whether the object can be displayed at the bounds of the active operation. + /// Display only current operation results + /// \param theObject a model object + virtual bool canDisplayObject(const ObjectPtr& theObject) const; + public slots: /// Called on call of command corresponded to a feature void onFeatureTriggered();