1 #include "LightApp_OBFilter.h"
3 #include "LightApp_SelectionMgr.h"
4 #include "LightApp_DataObject.h"
5 #include "LightApp_DataOwner.h"
10 LightApp_OBFilter::LightApp_OBFilter( LightApp_SelectionMgr* theSelMgr )
16 LightApp_OBFilter::~LightApp_OBFilter()
20 /*!Checks: data object is ok?*/
21 bool LightApp_OBFilter::isOk( const SUIT_DataObject* theDataObj ) const
23 const LightApp_DataObject* obj = dynamic_cast<const LightApp_DataObject*>( theDataObj );
25 return mySelMgr->isOk( new LightApp_DataOwner( obj->entry() ) );