- //! Returns list of currently selected objects
- QFeatureList selectedData() const { return mySelectedData; }
+ /// Returns current selection
+ XGUI_Selection* selection() const
+ {
+ return mySelection;
+ }
+
+ //! Connects the manager to all viewers accessible by Workshop
+ void connectViewers();
+
+ //! Selects the owners in the context.
+ //! \param theSelectedOwners a container of owners
+ /// \param isUpdateViewer the parameter whether the viewer should be update immediatelly
+ void setSelectedOwners(const SelectMgr_IndexedMapOfOwner& theSelectedOwners,
+ bool isUpdateViewer);
+
+ //! Check that the selected owners are valid for the current filters
+ /// \param isUpdateViewer the parameter whether the viewer should be update immediatelly
+ void updateSelectedOwners(bool isUpdateViewer);
+
+ //! Clears selection in Viewer and object Browser
+ void clearSelection();