Salome HOME
Issue #1855: Expand a folder on adding of a first object
[modules/shaper.git] / src / PartSet / PartSet_WidgetPoint2DFlyout.h
index f6247b33f79fda40e6b056e33477d7fa27a6f48b..8b1a87cb7ea7f2cd540de22812be8faf1dcb608c 100755 (executable)
@@ -30,6 +30,11 @@ public:
   /// Destructor
   virtual ~PartSet_WidgetPoint2DFlyout() {};
 
+  /// Checks if the selection presentation is valid in widget
+  /// \param theValue a selected presentation in the view
+  /// \return a boolean value
+  virtual bool isValidSelectionCustom(const std::shared_ptr<ModuleBase_ViewerPrs>& theValue);
+
   /// Activates the editor control only in case if the mouse over the OCC window, otherwise
   /// set focus to the usual double value control
   /// \return the state whether the widget can accept the focus