Salome HOME
An improvement to deselect a value in a shape selector control in the same way as...
[modules/shaper.git] / src / XGUI / XGUI_ModuleConnector.h
index ab3b09a17231ae22e6cb01d5e5cd19600f6e52b8..d2348e101018e6672460988ccb5113075127ae02 100644 (file)
@@ -17,12 +17,15 @@ class XGUI_Workshop;
 class XGUI_Displayer;
 
 /**
+ * \ingroup GUI
  * Implementation of IWorkshop interface which provides access to Workshop sevices at module level
  */
 class XGUI_EXPORT XGUI_ModuleConnector : public ModuleBase_IWorkshop
 {
 Q_OBJECT
  public:
+   /// Constructor
+   /// \param theWorkshop a workshop
   XGUI_ModuleConnector(XGUI_Workshop* theWorkshop);
 
   virtual ~XGUI_ModuleConnector();
@@ -43,6 +46,9 @@ Q_OBJECT
   //! Returns current viewer
   virtual ModuleBase_IViewer* viewer() const;
 
+  //! Returns property panel
+  virtual ModuleBase_IPropertyPanel* propertyPanel() const;
+
   //! Returns currently active operation
   virtual ModuleBase_Operation* currentOperation() const;
 
@@ -57,11 +63,13 @@ Q_OBJECT
 
   //! Select features clearing previous selection. 
   //! If the list is empty then selection will be cleared
-  virtual void setSelected(const QObjectPtrList& theFeatures);
+  virtual void setSelected(const QList<ModuleBase_ViewerPrs>& theValues);
 
+  //! Returns workshop
   XGUI_Workshop* workshop() const { return myWorkshop; }
 
 private:
+  /// Reference to workshop
   XGUI_Workshop* myWorkshop;
 
   /// A filter which provides selection within a current document or whole PartSet