Salome HOME
Disable sketch input fields unconditionally.
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.h
index e0937f09e21e600298048c02dfd1cd71fe38d697..75cd6e62aea767d8aea70b9a7f9e0746788ed713 100755 (executable)
@@ -201,6 +201,11 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject
   /// \param theTypes a selection modes to be extended\r
   virtual void customSubShapesSelectionModes(QIntList& theTypes) {}\r
 \r
+  /// Return true if the custom presentation is activated\r
+  /// \param theFlag a flag of level of customization, which means that only part of sub-elements\r
+  /// \return boolean value\r
+  virtual bool isCustomPrsActivated(const ModuleBase_CustomizeFlag& theFlag) const { return false; };\r
+\r
   /// Activate custom presentation for the object. Default realization is empty.\r
   /// \param theFeature a feature instance\r
   /// \param theFlag a flag of level of customization, which means that only part of sub-elements\r