#include <SalomeApp_Application.h>
#include <SalomeApp_Study.h>
+#include "LightApp_DataOwner.h"
+
#include <SUIT_Desktop.h>
#include <SUIT_Session.h>
#include <SUIT_ViewWindow.h>
return LightApp_Selection::parameter( ind, p );
}
+// the method to skip temporary objects from selection (called from LightApp)
+
+bool GEOMGUI_Selection::processOwner( const LightApp_DataOwner* theOwner)
+{
+ return !theOwner->entry().contains("_");
+}
+
QString GEOMGUI_Selection::typeName( const int index ) const
{
if ( isComponent( index ) )
#include CORBA_SERVER_HEADER(GEOM_Gen)
class LightApp_SelectionMgr;
+class LightApp_DataOwner;
class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection
{
virtual QVariant parameter( const int, const QString& ) const;
virtual QVariant parameter( const QString& ) const;
+
+ virtual bool processOwner( const LightApp_DataOwner* );
private:
bool isVisible( const int ) const;