Salome HOME
Issue #1941 Split auxiliary line.
[modules/shaper.git] / src / PartSet / PartSet_WidgetPoint2DFlyout.h
index 637d14f5242f1c86f13a96da107624bdf99d0681..8b1a87cb7ea7f2cd540de22812be8faf1dcb608c 100755 (executable)
@@ -25,13 +25,16 @@ public:
   /// \param theParent the parent object
   /// \param theWorkshop a current workshop
   /// \param theData the widget configuation. The attribute of the model widget is obtained from
-  /// \param theParentId is Id of a parent of the current attribute
   PartSet_WidgetPoint2DFlyout(QWidget* theParent, ModuleBase_IWorkshop* theWorkshop,
-                        const Config_WidgetAPI* theData, 
-                        const std::string& theParentId);
+                              const Config_WidgetAPI* theData);
   /// 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