Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / PartSet / PartSet_WidgetPoint2d.h
index bfc060b62ef8cc8fc5a38bdc575f159a1667a1e9..eddd587d797babc5ac27fcb8d57d89500be40290 100755 (executable)
@@ -69,9 +69,9 @@ Q_OBJECT
   virtual ~PartSet_WidgetPoint2D();
 
   /// Fills given container with selection modes if the widget has it
+  /// \param [out] theModuleSelectionModes module additional modes, -1 means all default modes
   /// \param theModes [out] a container of modes
-  /// \param isAdditional if true, the modes are combinated with the module ones
-  virtual void selectionModes(QIntList& theModes, bool& isAdditional);
+  virtual void selectionModes(int& theModuleSelectionModes, QIntList& theModes);
 
   /// Checks if the selection presentation is valid in widget
   /// \param theValue a selected presentation in the view
@@ -159,6 +159,10 @@ Q_OBJECT
                          std::shared_ptr<ModelAPI_Object>& theObject,
                          std::shared_ptr<GeomAPI_Shape>& theShape);
 
+  /// Return reference to external objects manager
+  /// \return manager instance
+  PartSet_ExternalObjectsMgr* getExternalObjectMgr() const { return myExternalObjectMgr; }
+
 signals:
   /// Signal about selection of an existing vertex from an object
   void vertexSelected();