1 #ifndef SALOMEAPP_OBSELECTOR_H
2 #define SALOMEAPP_OBSELECTOR_H
6 #include <SUIT_Selector.h>
9 class SalomeApp_DataObject;
11 class SALOMEAPP_EXPORT SalomeApp_OBSelector : public SUIT_Selector
16 SalomeApp_OBSelector( OB_Browser*, SUIT_SelectionMgr* );
17 virtual ~SalomeApp_OBSelector();
19 OB_Browser* browser() const;
21 /*!Return "ObjectBrowser"*/
22 virtual QString type() const { return "ObjectBrowser"; }
25 void onSelectionChanged();
28 virtual void getSelection( SUIT_DataOwnerPtrList& ) const;
29 virtual void setSelection( const SUIT_DataOwnerPtrList& );
32 void fillEntries( QMap<QString, SalomeApp_DataObject*>& );
35 OB_Browser* myBrowser;