1 #include "GEOM_PreviewFilter.h"
3 #include <LightApp_DataOwner.h>
5 //=======================================================================
6 // function : GEOM_SelectionFilter
8 //=======================================================================
9 GEOM_PreviewFilter::GEOM_PreviewFilter( SalomeApp_Study* study )
10 : SalomeApp_Filter( study )
14 //=======================================================================
15 // function : ~GEOM_SelectionFilter
17 //=======================================================================
18 GEOM_PreviewFilter::~GEOM_PreviewFilter()
22 //=======================================================================
25 //=======================================================================
26 bool GEOM_PreviewFilter::isOk( const SUIT_DataOwner* sOwner ) const
28 const LightApp_DataOwner* owner = dynamic_cast<const LightApp_DataOwner*> ( sOwner );
29 return ( owner && strstr( owner->entry(), "TEMP" ) );